/* Traffic & Authority Report page (includes/traffic-checker/ta-report.php). Round 3, 29 Nov 2026.
   Family with the Visibility Check report and the customer reports: Hanken Grotesk, white cards with the same line and
   shadow, the same footer. Its own look: a solid brand-blue hero carrying white text and the white score panel (the
   vault's "solid brand-ramp backgrounds carrying white cards and white text"), and a colour per section on its icon and
   charts.
   Colours (Victor, 29 Nov 2026: "avoid any new colors"): only BrandPush's own. Ink, lines, washes, the good / middling /
   weak states, the action button and the footer are the Visibility Check report's (visibility-report.css); the hero is
   blue 550 #2a62c3 and the data accent #4280ec from the vault's palette (main/02-areas/brandpush/brand-palette-and-fonts);
   the five score parts and the section colours are the vault's categorical set in its fixed order (blue #4280ec, coral
   #b03733, teal #119b78, violet #9057ff, amber #b37600), validated for colour blindness (worst adjacent deutan dE 10.9);
   pale and deep versions are those ramps' own steps or a palette colour mixed with white. Every coloured state also
   carries a word, a number or an icon. No gradients (the vault: "Victor tried them and reversed the decision"), except
   the footer, which is the Visibility Check's own.
   Victor, 29 Nov 2026: "avoid as many common AI styles and patterns as possible": no coloured bars on card edges, no
   tinted icon tiles, no glows or dot grids, no spaced capitals, no gradient buttons.
   Type scale (Victor: "an easy to follow hierarchy", "easy to scan and low on cognitive load"): h1 52 px, section h2
   32 px, card h3 18 px, lede 18 px, body 16 px, labels 14 px, notes 13 px; big figures 32 to 40 px. One weight step per
   level, sentence case everywhere.
   Logomarks and favicons as on the other reports: round white marks, the full name in a tooltip.
   Icons: Hugeicons only (ta-icons.php). Motion: data draws itself once when seen; no section fades in on scroll; hover
   only on real pointers; all off under prefers-reduced-motion, ending in the final state. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

.tr-page {
  --ink: #1a2340;
  --body: #444e68;
  --muted: #667089;
  --line: #e2e6ee;
  --line-soft: #eef1f6;
  --line-2: #c6cddb;
  --wash: #f5f7fa;
  --chip: #f1f3f8;
  --hero: #2a62c3;
  --found: #1f9d6b;
  --found-ink: #14774f;
  --found-soft: #e4f4ec;
  --part: #d99a1c;
  --part-ink: #85580a;
  --part-soft: #fbf0d9;
  --low: #b3213f;
  --low-ink: #b3213f;
  --low-soft: #fdecef;
  --data: #4280ec;
  --data-soft: color-mix(in srgb, #4280ec 12%, #fff);
  --data-ink: #2153a9;
  --tone: var(--data);
  --tone-soft: var(--data-soft);
  --tone-ink: var(--data-ink);
  --gold: #e3a53c;
  --p-authority: #4280ec;
  --p-links: #b03733;
  --p-search: #119b78;
  --p-speed: #9057ff;
  --p-trust: #b37600;
  --action: #dc3156;
  --action-hover: #c42848;
  --panel: #13264a;
  --on-panel-body: #c9d4ea;
  --foot-top: #0e2744;
  --foot-bottom: #091b30;
  --shadow-card: 0 1px 2px rgba(26, 35, 64, .04), 0 8px 24px rgba(26, 35, 64, .05);
  --shadow-lift: 0 2px 4px rgba(26, 35, 64, .05), 0 18px 36px rgba(26, 35, 64, .12);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --r-card: 20px;
  margin: 0;
  background: var(--wash);
  color: var(--body);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* a colour per section (TA_SECTION_LOOK) */
[data-tone="blue"] { --tone: #4280ec; --tone-soft: color-mix(in srgb, #4280ec 12%, #fff); --tone-ink: #2153a9; }
[data-tone="coral"], [data-tone="rose"] { --tone: #b03733; --tone-soft: #fdecef; --tone-ink: #812221; }
[data-tone="teal"] { --tone: #119b78; --tone-soft: color-mix(in srgb, #119b78 12%, #fff); --tone-ink: #007b5c; }
[data-tone="violet"], [data-tone="sky"] { --tone: #9057ff; --tone-soft: #edeafc; --tone-ink: #733ad9; }
[data-tone="amber"], [data-tone="orange"] { --tone: #b37600; --tone-soft: #fbf0d9; --tone-ink: #7c4c00; }
[data-tone="green"] { --tone: #1f9d6b; --tone-soft: #e4f4ec; --tone-ink: #14774f; }
[data-tone="slate"] { --tone: #667089; --tone-soft: #f1f3f8; --tone-ink: #444e68; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.tr-page *, .tr-page *::before, .tr-page *::after { box-sizing: border-box; }
:where(.tr-page) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; padding: 0; }
:where(.tr-page) :where(ul, ol) { list-style: none; }
:where(.tr-page) a { color: var(--tone-ink); text-underline-offset: 3px; }
.tr-page [hidden] { display: none !important; }
.tr-page .tnum { font-variant-numeric: tabular-nums; }
.tr-page :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* a hidden table ignores width: 1px and is as wide as its text; pinned to the right edge it can only run off to the left, which never widens the page (3 Dec 2026: the 26-week speed table made phones scroll sideways) */
table.tr-sr { right: 0; }
.tr-ico { display: inline-block; flex: none; vertical-align: -.15em; }
.tr-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.tr-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.tr-skip:focus { top: 12px; color: #fff; }
.tr-muted { color: var(--muted); }
.tr-fine { margin-top: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.tr-none { color: var(--muted); font-size: .9375rem; font-weight: 500; }

/* ---------- buttons ---------- */
.tr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  font: 600 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s; }
.tr-btn:active { transform: scale(.97); }
.tr-btn .tr-ico { transition: transform .2s var(--ease); }
.tr-btn--action { background: var(--action); color: #fff; }
.tr-btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.tr-btn--dark { background: var(--ink); color: #fff; }
.tr-btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.tr-btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
@media (hover: hover) and (pointer: fine) {
  .tr-btn:hover .tr-ico:last-child { transform: translateX(2px); }
  .tr-btn--action:hover { background: var(--action-hover); color: #fff; }
  .tr-btn--dark:hover { background: var(--panel); color: #fff; }
  .tr-btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
}

/* ---------- navbar ---------- */
.tr-nav { position: sticky; top: 0; z-index: 30; background: rgba(244, 246, 248, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.tr-nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.tr-nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.tr-nav-side { display: flex; align-items: center; gap: 14px; flex: none; }
.tr-logo img { display: block; width: 139px; height: auto; }
.tr-mini { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.tr-nav.is-stuck .tr-mini { opacity: 1; transform: none; pointer-events: auto; }
.tr-mini svg { width: 28px; height: 28px; transform: rotate(-90deg); }
.tr-mini circle { fill: none; stroke-width: 5; }
.tr-mini-track { stroke: var(--line); }
.tr-mini-arc { stroke-linecap: round; }
.tr-mini-arc--good { stroke: var(--found); }
.tr-mini-arc--mid { stroke: var(--part); }
.tr-mini-arc--low { stroke: var(--low); }
.tr-mini b { font-size: 1.0625rem; font-weight: 700; }
.tr-tabs { display: flex; gap: 4px; flex: 1 1 auto; justify-content: center; justify-content: safe center; min-width: 0; overflow-x: auto; scrollbar-width: none; }   /* safe: a strip too narrow for its tabs scrolls from its first tab instead of cutting it off (5 Dec 2026) */
.tr-tabs::-webkit-scrollbar { display: none; }
.tr-tab { position: relative; padding: 8px 10px; border-radius: 8px; color: var(--body); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tr-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.tr-tab.is-on { color: var(--ink); }
.tr-tab.is-on::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tr-tab:hover { color: var(--ink); } }
.tr-nav-cta { flex: none; }
@media (max-width: 860px) {
  .tr-nav-in { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 6px 12px; }
  .tr-nav-side { flex: 1 1 auto; }
  .tr-nav-cta { min-height: 38px; padding: 0 14px; font-size: .875rem; }
  .tr-tabs { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 0 -8px; padding-bottom: 6px; }
}

/* ---------- hero: solid brand blue, text left, the white score panel right ---------- */
.tr-main { padding-top: 12px; padding-bottom: 56px; }
.tr-hero { position: relative; display: grid; grid-template-columns: 1.15fr minmax(340px, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 4.5vw, 56px); border-radius: 28px; background: var(--hero); color: #fff; }
.tr-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.tr-kicker-sep { width: 1px; height: 12px; background: currentColor; opacity: .45; }
.tr-hero-text h1 { margin-top: 14px; color: #fff; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.tr-hl { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .1em; text-underline-offset: .16em; }
.tr-hero-lede { margin-top: 16px; max-width: 36rem; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tr-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); font-size: .875rem; }
.tr-chip strong { color: #fff; font-weight: 600; }
.tr-score { position: relative; padding: clamp(18px, 2.4vw, 26px); border-radius: 22px; background: #fff; color: var(--body); }
.tr-score-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tr-score-in { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: center; }
.tr-ring { position: relative; width: 100%; max-width: 220px; aspect-ratio: 1; margin: 0 auto; }
.tr-ring-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tr-ring-guides circle { stroke: var(--line); stroke-width: 1; }
.tr-ring-track { stroke: var(--line-soft); }
.tr-ring-fill { transition: opacity .2s var(--ease); }
.tr-ring-fill--authority { stroke: var(--p-authority); }
.tr-ring-fill--links { stroke: var(--p-links); }
.tr-ring-fill--search { stroke: var(--p-search); }
.tr-ring-fill--speed { stroke: var(--p-speed); }
.tr-ring-fill--trust { stroke: var(--p-trust); }
.tr-ring-part { transition: opacity .2s var(--ease); }
.tr-ring.has-focus .tr-ring-part:not(.is-focus) { opacity: .25; }
.tr-ring-run { stroke: var(--data); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.tr-ring-fig { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.tr-ring-n { color: var(--ink); font-size: clamp(2.8rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.tr-ring-n--sm { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.tr-ring-of { margin-top: 4px; color: var(--muted); font-size: .8125rem; max-width: 9rem; }
.tr-band { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .8125rem; }
.tr-band--good { background: var(--found-soft); color: var(--found-ink); }
.tr-band--mid { background: var(--part-soft); color: var(--part-ink); }
.tr-band--low { background: var(--low-soft); color: var(--low-ink); }
.tr-score > .tr-was { margin-top: 10px; text-align: center; }
.tr-parts { display: grid; gap: 4px; }
.tr-part { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--body); font: 500 .9375rem/1.2 var(--font); text-align: left; cursor: default; transition: background-color .15s; }
.tr-part:focus-visible, .tr-part.is-focus { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-part:hover { background: var(--wash); } }
.tr-part-sw { width: 10px; height: 10px; border-radius: 3px; }
.tr-part--authority .tr-part-sw { background: var(--p-authority); }
.tr-part--links .tr-part-sw { background: var(--p-links); }
.tr-part--search .tr-part-sw { background: var(--p-search); }
.tr-part--speed .tr-part-sw { background: var(--p-speed); }
.tr-part--trust .tr-part-sw { background: var(--p-trust); }
.tr-part-name { color: var(--ink); }
.tr-part-name em { display: block; color: var(--muted); font-size: .75rem; font-style: normal; }
.tr-part-val { color: var(--ink); font-weight: 700; }
.tr-steps-list { display: grid; gap: 6px; }
.tr-step { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; color: var(--muted); font-size: .9375rem; }
.tr-step-dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); color: #fff; }
.tr-step--done { color: var(--ink); }
.tr-step--done .tr-step-dot { background: var(--found); box-shadow: none; }
.tr-step--now { color: var(--ink); font-weight: 600; }
.tr-step--now .tr-step-dot { box-shadow: inset 0 0 0 2px var(--data); }
.tr-step-eta { color: var(--muted); font-size: .8125rem; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .tr-step--now .tr-step-dot { animation: tr-pulse 1.6s ease-in-out infinite; }
}
@keyframes tr-pulse { 50% { box-shadow: inset 0 0 0 2px var(--data), 0 0 0 5px var(--data-soft); } }
@media (max-width: 960px) {
  .tr-hero { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tr-score-in { grid-template-columns: 1fr; }
  .tr-ring { max-width: 200px; }
}

.tr-hero-text > .tr-kicker { color: rgba(255, 255, 255, .82); }
.tr-hero-text .tr-share-link { color: #fff; }
.tr-score .tr-kicker { color: var(--ink); font-size: 1rem; font-weight: 700; }

/* ---------- result cards, under the hero ---------- */
.tr-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.tr-kpi { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card);
  color: var(--body); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
@media (hover: hover) and (pointer: fine) { .tr-kpi:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-lift); color: var(--body); } }
.tr-kpi-head { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.tr-kpi-ico { display: inline-flex; color: var(--tone-ink); }
.tr-kpi-value { margin-top: 4px; color: var(--ink); font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tr-kpi-value .tr-none { font-size: 1rem; }
.tr-kpi-sub { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.tr-kpi-src { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 10px; color: var(--muted); font-size: .8125rem; font-weight: 500; }
.tr-kpi-meter { display: block; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.tr-kpi-meter i { display: block; height: 100%; border-radius: 3px; background: var(--tone); transform-origin: left; transform: scaleX(var(--w)); transition: transform .9s var(--ease); }
@media (max-width: 1080px) { .tr-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tr-kpi { padding: 14px; } }

/* ---------- unlock: one form ---------- */
.tr-unlock { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 28px; padding: clamp(22px, 3.5vw, 36px);
  border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.tr-unlock h2 { margin-top: 8px; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.tr-unlock-list { display: grid; gap: 8px; margin-top: 16px; }
.tr-unlock-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.tr-unlock-list .tr-ico { color: var(--found); }
.tr-field-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .875rem; font-weight: 600; }
.tr-field-row { display: flex; gap: 10px; }
.tr-field-row input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); font: 500 1rem var(--font); transition: border-color .15s, box-shadow .15s; }
.tr-field-row input:focus { outline: none; border-color: var(--data); box-shadow: 0 0 0 4px var(--data-soft); }
.tr-field-row input[aria-invalid="true"] { border-color: var(--low); }
.tr-tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: .875rem; line-height: 1.45; cursor: pointer; }
.tr-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-tick-box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); color: transparent; background: #fff; transition: background-color .15s, box-shadow .15s, color .15s; }
.tr-tick input:checked + .tr-tick-box { background: var(--data); box-shadow: none; color: #fff; }
.tr-tick input:focus-visible + .tr-tick-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.tr-field-error { margin-top: 10px; color: var(--low-ink); font-size: .875rem; font-weight: 500; }
.tr-unlock-note { margin-top: 10px; color: var(--muted); font-size: .8125rem; }
.tr-unlock.is-open { display: block; padding: 14px 20px; }
.tr-unlock-done { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.tr-unlock-tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--found); color: #fff; flex: none; }
.tr-unlock.is-shake { animation: tr-shake .36s var(--ease); }
@keyframes tr-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.tr-unlock.is-flash { box-shadow: 0 0 0 4px var(--data-soft), var(--shadow-card); }
@media (max-width: 860px) { .tr-unlock { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tr-field-row { flex-direction: column; } }

/* ---------- sections ---------- */
.tr-sec { margin-top: clamp(56px, 8vw, 92px); scroll-margin-top: 88px; }
.tr-sec-head { max-width: 52rem; margin-bottom: 22px; }
.tr-sec-head .tr-kicker { gap: 8px; color: var(--tone-ink); font-size: 1rem; font-weight: 700; }
.tr-sec-ico { display: inline-flex; color: var(--tone); }
.tr-sec-head :is(h2, h3) { margin-top: 10px; color: var(--ink); font-size: clamp(1.625rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.tr-lede { margin-top: 8px; max-width: 44rem; color: var(--body); font-size: 1.125rem; line-height: 1.55; text-wrap: pretty; }
.tr-grid { display: grid; gap: 16px; }
.tr-grid + .tr-grid, .tr-grid + .tr-card, .tr-card + .tr-grid, .tr-card--gap, .tr-grid + .tr-locked, .tr-card + .tr-locked { margin-top: 16px; }
.tr-grid--main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tr-grid--wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.tr-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .tr-grid--main, .tr-grid--wide, .tr-grid--even { grid-template-columns: 1fr; } }
/* 3 Dec 2026: two thirds and one third (Media coverage: the news card, and the Wikipedia card at its right) */
.tr-grid--third { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 960px) { .tr-grid--third { grid-template-columns: 1fr; } }
.tr-card { min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.tr-card--flush { padding: 6px 6px 0; overflow: hidden; }
.tr-card-title { padding: 16px 16px 4px; }
.tr-card h3 { margin: 24px 0 12px; color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.tr-card h3:first-child, .tr-card .tr-card-title { margin-top: 0; }
.tr-empty, .tr-couldnt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.tr-empty .tr-ico { color: var(--tone); }
.tr-couldnt { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px dashed var(--line-2); }
.tr-callout { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 18px; border-radius: 16px; background: var(--tone-soft); color: var(--ink); font-size: 1.0625rem; }
.tr-callout .tr-ico { color: var(--tone-ink); margin-top: 3px; }
.tr-callout strong { font-weight: 800; }
.tr-recheck-note { margin-top: 24px; }

/* sources: logomarks at the end of each section */
.tr-sources { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.tr-sources-label { color: var(--muted); font-size: .875rem; font-weight: 500; }
.tr-srcs { display: flex; gap: 6px; }
.tr-src { display: inline-flex; border-radius: 50%; cursor: default; transition: transform .16s var(--ease); }
.tr-src + .tr-src { margin-left: 2px; }
@media (hover: hover) and (pointer: fine) { .tr-src:hover { transform: translateY(-2px); } }
.tr-card .tr-sources { margin-top: 14px; }
/* logomarks and favicons, as the Visibility Check and customer reports draw them: a white circle, the mark uncut */
.tr-logomark, .tr-fav { display: inline-block; flex: none; border-radius: 50%; background: #fff; object-fit: cover; }
.tr-logomark { width: 28px; height: 28px; box-shadow: 0 0 0 1px var(--line); }
.tr-kpi-src .tr-logomark { width: 18px; height: 18px; }
.tr-fav { width: 18px; height: 18px; }
.tr-fav--none { display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--muted); }
.tr-fav--none svg { width: 100%; height: 100%; }

/* figures */
.tr-stats { display: grid; gap: 10px; margin-top: 16px; }
.tr-stats:first-child { margin-top: 0; }
.tr-stats--1 { grid-template-columns: 1fr; }
.tr-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .tr-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tr-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--wash); }
.tr-stat-label { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.tr-stat-value { color: var(--ink); font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tr-stat-note, .tr-credit { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.tr-was { display: block; color: var(--tone-ink); font-size: .75rem; font-weight: 600; }
.tr-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.tr-big-label { flex-basis: 100%; color: var(--muted); font-size: .875rem; font-weight: 600; }
.tr-big-n { color: var(--ink); font-size: clamp(2.25rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.tr-big-sub { font-size: .875rem; }
.tr-delta { font-weight: 700; }
.tr-delta--up { color: var(--found-ink); }
.tr-delta--down { color: var(--low-ink); }

/* key/value list (engagement and rank) */
.tr-kvs { display: grid; }
.tr-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.tr-kv:last-child { border-bottom: 0; }
.tr-kv dt { color: var(--body); font-weight: 500; }
.tr-kv dt small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.tr-kv dd { color: var(--ink); font-weight: 800; font-size: 1.125rem; }

/* bars */
.tr-bars { display: grid; gap: 6px; }
.tr-bar { display: grid; grid-template-columns: minmax(84px, 9rem) 1fr 3.6rem; gap: 12px; align-items: center; padding: 5px 6px; margin: 0 -6px; border-radius: 8px; font-size: .9375rem; cursor: default; transition: background-color .15s; }
.tr-bar:focus-visible { background: var(--wash); }
.tr-bar-label { color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-bar-track { display: block; height: 10px; overflow: hidden; border-radius: 5px; background: var(--line-soft); }
.tr-bar-track i { display: block; height: 100%; border-radius: 5px; background: var(--tone); transform-origin: left; transform: scaleX(var(--w)); transition: transform .9s var(--ease); }
.tr-bar-value { color: var(--ink); font-weight: 700; text-align: right; }
@media (hover: hover) and (pointer: fine) { .tr-bar:hover { background: var(--wash); } }

/* columns (channels) */
.tr-cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; align-items: end; height: 210px; padding-top: 6px; }
.tr-col { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; padding: 6px 4px 0; border-radius: 10px; text-align: center; cursor: default; transition: background-color .15s; }
.tr-col:focus-visible { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-col:hover { background: var(--wash); } .tr-col:hover .tr-col-bar i { filter: brightness(.92); } }
.tr-col-val { color: var(--ink); font-size: .875rem; font-weight: 700; }
.tr-col-bar { position: relative; display: block; border-radius: 8px 8px 4px 4px; background: var(--line-soft); overflow: hidden; }
.tr-col-bar i { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; border-radius: 8px 8px 4px 4px; background: var(--tone); transform-origin: bottom; transform: scaleY(var(--h)); transition: transform .9s var(--ease), filter .15s; }
.tr-col-name { padding-bottom: 6px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 480px) { .tr-cols { gap: 4px; height: 180px; } .tr-col-name { font-size: .6875rem; } }

/* countries */
.tr-geos { display: grid; gap: 4px; }
.tr-geo { display: grid; grid-template-columns: 26px minmax(90px, 9rem) 1fr 3.6rem; gap: 10px; align-items: center; padding: 6px; margin: 0 -6px; border-radius: 8px; cursor: default; transition: background-color .15s; }
.tr-geo:focus-visible { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-geo:hover { background: var(--wash); } }
.tr-geo-flag { font-size: 1.25rem; line-height: 1; }
.tr-geo-name { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-geo-val { color: var(--ink); font-weight: 700; text-align: right; }

/* where you rank (keyword spread) */
.tr-spread { display: flex; gap: 3px; height: 16px; border-radius: 8px; overflow: hidden; }
.tr-spread i { display: block; min-width: 4px; height: 100%; cursor: default; transition: filter .15s; }
@media (hover: hover) and (pointer: fine) { .tr-spread i:hover { filter: brightness(.9); } }
.tr-spread-top3 { background: var(--tone); }
.tr-spread-top10 { background: color-mix(in srgb, var(--tone) 55%, #fff); }
.tr-spread-rest { background: var(--line); }
.tr-spread-legend { display: grid; gap: 8px; margin-top: 14px; }
.tr-spread-legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; color: var(--body); }
.tr-spread-legend strong { color: var(--ink); }
.tr-spread-sw { width: 12px; height: 12px; border-radius: 4px; }

/* new and lost referring domains: a diverging chart, gains above the zero line and losses below it */
.tr-dv-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; color: var(--muted); font-size: .9375rem; }
.tr-dv-stat { display: inline-flex; align-items: center; gap: 6px; }
.tr-dv-stat b { color: var(--ink); font-weight: 800; }
.tr-dv-stat--new .tr-ico { color: var(--found); }
.tr-dv-stat--lost .tr-ico { color: var(--low); }
.tr-dvs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.tr-dv { display: grid; gap: 6px; padding: 4px 0 0; border-radius: 10px; cursor: default; transition: background-color .15s; }
.tr-dv:focus-visible { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-dv:hover { background: var(--wash); } }
.tr-dv-plot { display: grid; grid-template-rows: 64px 64px; }
.tr-dv-half { display: flex; justify-content: center; }
.tr-dv-half--up { align-items: flex-end; border-bottom: 1px solid var(--line-2); }
.tr-dv-half--down { align-items: flex-start; }
.tr-dv-plot i { display: block; width: min(60%, 28px); height: 100%; transition: transform .9s var(--ease); }
.tr-dv-new { border-radius: 6px 6px 0 0; background: var(--found); transform-origin: bottom; transform: scaleY(var(--h)); }
.tr-dv-lost { border-radius: 0 0 6px 6px; background: var(--low); transform-origin: top; transform: scaleY(var(--h)); }
.tr-dv-m { color: var(--muted); font-size: .8125rem; text-align: center; padding-bottom: 4px; }

/* gauges (authority) */
.tr-gauges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tr-gauge { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--wash); transition: background-color .15s; }
.tr-gauge:focus-visible { background: var(--tone-soft); }
@media (hover: hover) and (pointer: fine) { .tr-gauge:hover { background: var(--tone-soft); } }
.tr-gauge-label { color: var(--ink); font-size: .875rem; font-weight: 600; }
.tr-gauge-value { color: var(--ink); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.tr-gauge-value small { margin-left: 2px; color: var(--muted); font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.tr-gauge-track { display: block; height: 8px; border-radius: 4px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.tr-gauge-track i { display: block; height: 100%; border-radius: 4px; background: var(--tone); transform-origin: left; transform: scaleX(var(--w)); transition: transform .9s var(--ease); }
@media (max-width: 420px) { .tr-gauges { grid-template-columns: 1fr; } }

/* line charts */
.tr-chart { margin-bottom: 6px; }
.tr-chart-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; color: var(--muted); font-size: .875rem; }
.tr-chart-now { color: var(--ink); font-weight: 700; }
.tr-chart-plot { position: relative; height: 150px; border-radius: 10px; background: linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 25%; cursor: crosshair; touch-action: pan-y; }
.tr-chart--tall .tr-chart-plot { height: 220px; }
.tr-chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tr-chart-area { fill: var(--tone); opacity: .1; }
.tr-chart-line { fill: none; stroke: var(--tone); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tr-chart-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); opacity: 0; transform: translateX(-.5px); transition: opacity .12s; pointer-events: none; }
.tr-chart-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--tone), 0 2px 6px rgba(19, 32, 47, .2); opacity: 0; transform: scale(.6); transition: opacity .12s, transform .16s var(--ease); pointer-events: none; }
.tr-chart-tip { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; transition: opacity .12s; }
.tr-chart-tip small { display: block; color: var(--on-panel-body); font-size: .6875rem; font-weight: 500; }
.tr-chart-plot.is-active .tr-chart-guide, .tr-chart-plot.is-active .tr-chart-dot, .tr-chart-plot.is-active .tr-chart-tip { opacity: 1; }
.tr-chart-plot.is-active .tr-chart-dot { transform: scale(1); }
.tr-chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: .75rem; }

/* tables */
.tr-table-wrap { overflow-x: auto; }
.tr-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tr-table th { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 600; text-align: left; white-space: nowrap; }
.tr-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.tr-table tbody tr { transition: background-color .12s; }
@media (hover: hover) and (pointer: fine) { .tr-table tbody tr:hover { background: var(--wash); } }
.tr-table tr:last-child td { border-bottom: 0; }
.tr-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.tr-table tr.is-you td { background: var(--tone-soft); font-weight: 600; }
.tr-kw { font-weight: 500; }
/* 3 Dec 2026 (Victor: "keyword intent and difficulty"): the Intent column; on a phone it is hidden and the intent sits
   under the keyword (six columns do not fit 390 px) */
.tr-kw-int { white-space: nowrap; }
.tr-kwcard .tr-card-aside { text-wrap: balance; }   /* the count line never leaves "page 1." alone on a second line */
/* 3 Dec 2026 (Victor: "make the intent different tags ... Each tag type should have its own color", "small progress
   bars before the numbers", "one card with a selector at the top for Top Keywords and Easiest Wins").
   Intent tags: blue, purple, amber, teal. Not the pass green or the fail red of the report; the word is in the tag. */
.tr-intent { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.tr-intent--informational { background: #e4eefd; color: #1d4a9a; }
.tr-intent--navigational { background: #efe9ff; color: #5630c2; }
.tr-intent--commercial { background: var(--part-soft); color: var(--part-ink); }
.tr-intent--transactional { background: #dcf3f5; color: #0a6470; }
/* a number with its bar: the numbers of one column are one width (--kw-s, --kw-v: the longest number, set on the
   table), so the bars start at the same place. Difficulty: easy green, medium amber, hard red; searches and visits blue. */
.tr-kw-meter { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; vertical-align: middle; }
.tr-kw-meter .tr-bar-track { flex: none; width: 48px; height: 6px; border-radius: 3px; }
.tr-kw-meter .tr-bar-track i { border-radius: 3px; background: var(--data); }
.tr-kw-meter .tr-bar-track i.tr-kw-bar--easy { background: var(--found); }
.tr-kw-meter .tr-bar-track i.tr-kw-bar--mid { background: var(--part); }
.tr-kw-meter .tr-bar-track i.tr-kw-bar--hard { background: var(--low); }
.tr-kw-n { min-width: 3ch; text-align: right; }
.tr-kw-meter--s .tr-kw-n { min-width: var(--kw-s, 3ch); }
.tr-kw-meter--v .tr-kw-n { min-width: var(--kw-v, 3ch); }
/* the selector: both lists are in the card, the card's data-kw-on says which one shows (set by the page, then by a
   click). The count line of Easiest wins sits beside the selector; a table's Reset button goes to the right end. */
[data-kw-on="top"] [data-kw="page2"], [data-kw-on="page2"] [data-kw="top"] { display: none !important; }
.tr-card-head.tr-kw-head { justify-content: flex-start; gap: 0 8px; padding: 12px 12px 4px; }
.tr-kw-head .tr-seg { flex: none; margin: 0; }
.tr-kw-head .tr-card-aside { flex: 1 1 280px; min-width: 0; padding: 8px; }
.tr-kw-head > .tr-sort-reset { margin-left: auto; }
/* "Where you rank" beside "This month" (3 Dec 2026): its three rows are drawn as that card's rows (hairlines, the same
   type) and share the card's height, so the two cards end level */
.tr-rankcard .tr-spread-legend { flex: 1 1 auto; gap: 0; grid-auto-rows: 1fr; }
.tr-rankcard .tr-spread-legend li { padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; font-weight: 500; }
.tr-rankcard .tr-spread-legend li:first-child { border-top: 0; }
.tr-rankcard .tr-spread-legend strong { font-size: 1.0625rem; font-weight: 800; }
.tr-kw-sub { display: none; }
@media (max-width: 560px) {
  .tr-table .tr-kw-int { display: none; }
  .tr-kw-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.3; }
  .tr-kw-sub .tr-intent { padding: 2px 8px; font-size: .75rem; }
  /* the top keywords table also has Visits: its Difficulty joins the line under the keyword; Easiest wins keeps the column */
  .tr-kw-sub-d, .tr-kw-sub--d { display: none; }
  .tr-kw-sub-n { white-space: nowrap; }
  .tr-table:not(.tr-table--page2) .tr-kw-dif { display: none; }
  .tr-table:not(.tr-table--page2) .tr-kw-sub-d { display: inline; }
  .tr-table:not(.tr-table--page2) .tr-kw-sub--d { display: flex; }
  /* no room for a bar beside the number: it sits under it, short */
  .tr-kw-meter { flex-direction: column-reverse; align-items: flex-end; gap: 4px; }
  .tr-kw-meter .tr-bar-track { width: 40px; height: 4px; }
  .tr-kw-n, .tr-kw-meter--s .tr-kw-n, .tr-kw-meter--v .tr-kw-n { min-width: 0; }
}
.tr-pos { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--chip, #eef1f5); font-weight: 700; }
.tr-pos.is-top { background: var(--found-soft); color: var(--found-ink); }
.tr-you { margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: var(--tone); color: #fff; font-size: .75rem; font-style: normal; font-weight: 700; vertical-align: 2px; }

/* checks, tags, marks */
.tr-checks { display: grid; }
.tr-check { display: grid; grid-template-columns: 24px minmax(8rem, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.tr-check:last-child { border-bottom: 0; }
.tr-check-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.tr-check--pass .tr-check-ico { background: var(--found-soft); color: var(--found-ink); }
.tr-check--fail .tr-check-ico { background: var(--low-soft); color: var(--low-ink); }
.tr-check--none .tr-check-ico { background: var(--line-soft); color: var(--muted); }
.tr-check-label { color: var(--ink); font-weight: 500; }
.tr-check-state { color: var(--muted); font-size: .875rem; text-align: right; overflow-wrap: anywhere; }
.tr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--line-soft); color: var(--ink); font-size: .8125rem; font-weight: 500; }
.tr-tag--on { background: var(--found-soft); color: var(--found-ink); }
.tr-tag--off { background: var(--low-soft); color: var(--low-ink); }
.tr-marks { display: flex; gap: 4px; margin-bottom: 16px; }
.tr-mark { flex: 1 1 0; height: 8px; border-radius: 4px; }
.tr-mark--on { background: var(--found); }
.tr-mark--off { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tr-mark--none { background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 7px); }

/* keyword movement: an icon by each figure, so the direction never rests on colour */
.tr-moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tr-move { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--wash); cursor: default; }
.tr-move strong { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.tr-move span:not(.tr-move-ico) { color: var(--muted); font-size: .875rem; }
.tr-move-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; }
.tr-move--new .tr-move-ico, .tr-move--up .tr-move-ico { background: var(--found); }
.tr-move--down .tr-move-ico, .tr-move--lost .tr-move-ico { background: var(--low); }

/* segmented control */
.tr-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: var(--line-soft); }
.tr-seg-btn { min-height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--body); font: 600 .875rem/34px var(--font); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.tr-seg-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(19, 32, 47, .12); }
@media (hover: hover) and (pointer: fine) { .tr-seg-btn:hover { color: var(--ink); } }

/* competitors */
.tr-comps { display: grid; gap: 10px; }
.tr-comp { display: grid; grid-template-columns: minmax(120px, 13rem) 1fr 6rem; gap: 14px; align-items: center; }
.tr-comp-name { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-comp-track { display: block; height: 26px; border-radius: 8px; background: var(--wash); overflow: hidden; }
.tr-comp-track i { display: block; height: 100%; border-radius: 8px; background: color-mix(in srgb, var(--tone) 35%, #fff); transform-origin: left; transform: scaleX(var(--w)); transition: transform .6s var(--ease), filter .15s; }
.tr-comp.is-you .tr-comp-track i { background: var(--tone); }
.tr-comp-val { color: var(--ink); font-weight: 700; text-align: right; }
@media (hover: hover) and (pointer: fine) { .tr-comp-track:hover i { filter: brightness(.94); } }
@media (max-width: 560px) { .tr-comp { grid-template-columns: 1fr 5rem; } .tr-comp-track { grid-column: 1 / -1; grid-row: 2; } }
.tr-more { margin-top: 14px; }
.tr-more summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; color: var(--tone-ink); font-weight: 600; cursor: pointer; list-style: none; }
.tr-more summary::-webkit-details-marker { display: none; }
.tr-more summary .tr-ico { transition: transform .2s var(--ease); }
.tr-more[open] summary .tr-ico { transform: rotate(180deg); }
.tr-more .tr-table-wrap { margin-top: 8px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }

/* PageSpeed */
.tr-psi-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.tr-psi-ring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; transition: background-color .15s; }
.tr-psi-ring:focus-visible { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-psi-ring:hover { background: var(--wash); } }
.tr-psi-ring svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.tr-psi-ring circle { fill: none; stroke-width: 6; }
.tr-psi-track { stroke: var(--line-soft); }
.tr-psi-arc { stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1s var(--ease); }
.tr-psi-ring--good .tr-psi-arc { stroke: var(--found); }
.tr-psi-ring--mid .tr-psi-arc { stroke: var(--part); }
.tr-psi-ring--low .tr-psi-arc { stroke: var(--low); }
.tr-psi-n { position: absolute; top: 12px; width: 72px; height: 72px; display: grid; place-items: center; color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.tr-psi-l { color: var(--muted); font-size: .75rem; text-align: center; }
@media (max-width: 480px) { .tr-psi-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tr-fixes { display: grid; }
.tr-fixes li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.tr-fixes li:last-child { border-bottom: 0; }
.tr-save { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--found-soft); color: var(--found-ink); font-size: .8125rem; font-weight: 600; }

/* Google results: a results page in miniature (the Visibility Check report's Google card), in this page's colours */
.tr-gserp { padding-top: clamp(14px, 2vw, 20px); }
.tr-gbar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  color: var(--ink); font-size: 1rem; text-decoration: none; transition: box-shadow .2s var(--ease); }
.tr-gbar .tr-gbar-q + .tr-ico { color: var(--muted); }
.tr-gbar img { flex: none; border-radius: 50%; }
.tr-gbar-q { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .tr-gbar:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lift); } }
.tr-gres { display: grid; margin-top: 8px; }
.tr-gr-site:has(.tr-gr-id:empty) { justify-content: flex-end; margin-bottom: -22px; }
.tr-gr { padding: 14px 12px; margin: 0 -12px; border-radius: 12px; transition: background-color .15s; }
.tr-gr + .tr-gr { border-top: 1px solid var(--line-soft); }
.tr-gr.is-you { background: var(--found-soft); border-top-color: transparent; }
.tr-gr.is-you + .tr-gr { border-top-color: transparent; }
@media (hover: hover) and (pointer: fine) { .tr-gr:not(.is-you):hover { background: var(--wash); } }
.tr-gr-site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tr-gr-site .tr-fav { width: 26px; height: 26px; box-shadow: 0 0 0 1px var(--line); }
.tr-gr-id { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.tr-gr-name { color: var(--ink); font-size: .875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-gr-url { color: var(--muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-gr-pos { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--chip); color: var(--muted); font-size: .75rem; font-weight: 700; cursor: default; }
.tr-gr .tr-you { margin-left: 0; }
.tr-gr-title { margin-top: 6px !important; color: var(--data-ink); font-size: 1.125rem; line-height: 1.35; overflow-wrap: anywhere; }
.tr-gr-desc { margin-top: 3px !important; color: var(--body); font-size: .875rem; line-height: 1.55; }

/* news */
.tr-news { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; }
.tr-news-side { padding-left: 28px; border-left: 1px solid var(--line-soft); }
@media (max-width: 860px) { .tr-news { grid-template-columns: 1fr; } .tr-news-side { padding-left: 0; border-left: 0; } }
.tr-articles { display: grid; }
.tr-articles li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.tr-articles li:last-child { border-bottom: 0; }
.tr-art-title, .tr-art-title a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tr-art-title a:hover { color: var(--tone-ink); text-decoration: underline; }
.tr-outlets { display: grid; gap: 10px; }
.tr-outlets li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; }
.tr-fav-wrap { display: inline-flex; }
.tr-fav-wrap .tr-fav { width: 22px; height: 22px; box-shadow: 0 0 0 1px var(--line); }
.tr-outlet { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-nonews { display: flex; gap: 16px; align-items: flex-start; }
.tr-nonews-ico { display: inline-flex; flex: none; color: var(--tone); }
.tr-nonews-t { color: var(--ink); font-weight: 700; font-size: 1.0625rem; }

/* action plan */
.tr-opp { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.tr-opp:first-child { padding-top: 0; }
.tr-opp:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-opp h3 { margin: 4px 0 6px !important; }
.tr-opp-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tone); color: #fff; font-weight: 800; }
.tr-impact { margin-left: 6px; padding: 2px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; vertical-align: 2px; }
.tr-impact--high { background: var(--found-soft); color: var(--found-ink); }
.tr-impact--medium { background: var(--part-soft); color: var(--part-ink); }
.tr-impact--low { background: var(--line-soft); color: var(--muted); }
.tr-steps { margin-top: 8px !important; padding-left: 1.2rem !important; list-style: decimal !important; }
.tr-steps li { margin: 4px 0; }
.tr-wins { display: grid; gap: 10px; }
.tr-wins li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.tr-wins .tr-ico { margin-top: 3px; color: var(--found); }

/* BrandPush cards */
.tr-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding: 22px 24px; border-radius: var(--r-card);
  background: var(--panel); color: var(--on-panel-body); }
.tr-promo-kicker { color: var(--gold); font-size: .9375rem; font-weight: 700; }
.tr-promo h4 { margin: 4px 0; color: #fff; font-size: 1.1875rem; font-weight: 800; }
.tr-promo-text { max-width: 44rem; }

/* ---------- loaders (still checking) ---------- */
/* 3 Dec 2026: the loader is a slim line over the section's skeleton (ta_skeleton(): the real grids and cards) */
.tr-loader { padding: 0; }
.tr-loader-head { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.tr-loader-left { color: var(--muted); font-weight: 500; }
.tr-loader-bar { height: 6px; margin: 10px 0 16px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
/* 6 Dec 2026 (Victor: "fix the loader line's jump"): the loader floats over the top of the section's placeholder
   instead of taking a line above it, so a part that lands no longer moves everything under it by 56 px. */
.tr-loading { position: relative; }
.tr-loader { position: absolute; z-index: 2; top: 14px; left: 50%; width: min(440px, calc(100% - 28px)); transform: translateX(-50%);
  padding: 12px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lift); }
.tr-loader-bar i { display: block; height: 100%; border-radius: 3px; background: var(--tone); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1s linear; }
.tr-skel, .tr-skel i, .tr-skel b { display: block; border-radius: 12px; }
.tr-skel { background: var(--wash); }
.tr-skel i, .tr-skel b, .tr-skel--line, .tr-sk-b { background: linear-gradient(90deg, var(--line-soft) 25%, var(--wash) 37%, var(--line-soft) 63%); background-size: 400% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .tr-skel i, .tr-skel b, .tr-skel--line, .tr-sk-b { animation: tr-shimmer 1.4s linear infinite; }
}
@keyframes tr-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
/* section skeletons: grey shapes inside the section's own cards */
.tr-sk-b { display: block; flex: none; width: var(--w, 100%); max-width: 100%; height: var(--h, 12px); border-radius: 6px; }
.tr-sk-card { gap: 16px; }
/* the loaded card's height at 1440, 768 and 390 px; the shapes inside share whatever height that leaves */
@media (min-width: 961px) { .tr-sk-card { height: var(--mh, auto); } }
@media (min-width: 561px) and (max-width: 960px) { .tr-sk-card { height: var(--mht, auto); } }
@media (max-width: 560px) { .tr-sk-card { height: var(--mhp, auto); } }
.tr-sk-card { overflow: hidden; }
.tr-sk-h3 { width: 38%; height: 16px; margin: 4px 0; }
.tr-sk-dot { width: var(--w, 20px); height: var(--h, 20px); border-radius: 50%; }
.tr-sk-num { width: 48px; margin-left: auto; }
.tr-sk-chart { flex: 1 1 var(--h, 180px); height: auto; min-height: 64px; border-radius: 12px; }
.tr-sk-pill { height: var(--h, 42px); border-radius: 999px; }
.tr-sk-tag { height: 31px; border-radius: 999px; }
.tr-sk-bar { height: 22px; }
.tr-sk-ring { width: min(100%, 96px); height: auto; aspect-ratio: 1; border-radius: 50%; }
.tr-sk-rows { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.tr-sk-row { display: flex; flex: 1 1 var(--rh, 48px); align-items: center; gap: 12px; min-height: 20px; }
.tr-sk-row + .tr-sk-row { border-top: 1px solid var(--line-soft); }
.tr-sk-tiles { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 12px; }
.tr-sk-tile { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 12px 0; }
.tr-sk-tiles--wash { flex: 1 1 auto; grid-auto-rows: 1fr; min-height: 0; }
.tr-sk-tiles--wash .tr-sk-tile { padding: 16px; border-radius: 16px; background: var(--wash); }
@media (max-width: 420px) { .tr-sk-tiles--wash { grid-template-columns: 1fr; } }
.tr-sk-tiles--wash .tr-sk-b { background: #fff; animation: none; }
.tr-sk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-sk-big { display: grid; gap: 10px; }
.tr-sk-callout { align-items: center; min-height: 75px; }
.tr-sk-callout .tr-sk-b { background: rgba(255, 255, 255, .75); animation: none; }
.tr-sk-foot { display: flex; align-items: center; min-height: 39px; margin-top: auto; border-top: 1px solid var(--line-soft); }
.tr-card--flush > .tr-sk-foot { min-height: 51px; padding: 0 14px; }
.tr-sk-headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tr-sk-headrow .tr-sk-h3 { width: 140px; }
.tr-sk-bars { display: grid; gap: 12px; }
.tr-sk-thead { padding: 8px 14px 0; }
.tr-sk-thead .tr-sk-h3 { width: 150px; }
.tr-sk-card.tr-card--flush { gap: 0; }
.tr-sk-table { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.tr-sk-tr { display: flex; flex: 1 1 var(--rh, 50px); align-items: center; gap: 16px; min-height: 24px; padding: 0 14px; border-top: 1px solid var(--line-soft); }
.tr-sk-tr--head { flex: 0 0 44px; border-top: 0; }
.tr-sk-tr .tr-sk-num { margin-left: 0; }
.tr-sk-tr .tr-sk-grow { margin-right: auto; }
.tr-sk-arts { display: grid; }
.tr-sk-ress, .tr-sk-cwv { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.tr-sk-art { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.tr-sk-art + .tr-sk-art, .tr-sk-res + .tr-sk-res { border-top: 1px solid var(--line-soft); }
.tr-sk-art span, .tr-sk-res { display: grid; gap: 8px; align-content: center; }
.tr-sk-res { flex: 1 1 68px; padding: 8px 0; }
.tr-sk-ringcell { display: grid; justify-items: center; gap: 10px; }
.tr-sk-cwv { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.tr-sk-cols2 { display: grid; flex: 1 1 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); min-height: 0; }
.tr-opps--lead .tr-opp.tr-sk-pick { grid-row: 1 / span 2; }
@media (max-width: 960px) { .tr-opps--lead .tr-opp.tr-sk-pick { grid-row: auto; } }
.tr-opps .tr-opp.tr-sk-card { gap: 14px; }
.tr-sk .tr-news-side .tr-sk-rows { margin-top: 0; }
@media (max-width: 560px) {
  .tr-sk-cols2 { grid-template-columns: 1fr; }
  .tr-sk-tr > .tr-sk-num:nth-last-child(-n+2) { display: none; }
  .tr-sk-tiles[style*="--n:3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tr-skel-rows { display: grid; gap: 10px; }
.tr-skel--line { height: 16px; border-radius: 8px; }
.tr-skel--line:nth-child(even) { width: 82%; }
/* a result tile while it loads: the figure and the line under it, at the loaded tile's height */
.tr-skel--kpi { display: contents; }
.tr-skel--kpi i { height: 30px; width: 62%; margin: 8px 0 4px; }
.tr-skel--kpi b { height: 12px; width: 84%; margin: 4px 0; border-radius: 6px; }
.tr-skel--kpi u { display: block; height: 6px; border-radius: 3px; background: var(--line-soft); }
.tr-sk-sumrow { display: grid; gap: 10px; align-content: center; min-height: 70px; }
.tr-sk-sumrow + .tr-sk-sumrow { border-top: 1px solid var(--line-soft); }

/* ---------- locked parts: the full mockup, blurred ---------- */
.tr-locked { position: relative; border-radius: var(--r-card); overflow: hidden; }
.tr-sec-body > .tr-locked:first-child { margin-top: 0; }
.tr-locked-ph { filter: blur(5px) saturate(.9); opacity: .9; pointer-events: none; user-select: none; }
.tr-locked-ph .tr-card { box-shadow: none; }
.tr-locked-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center;
  background: rgba(255, 255, 255, .6); }
.tr-locked-msg p { max-width: 30rem; color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.tr-locked-ico { display: inline-flex; color: var(--ink); }

/* ---------- about, share, footer ---------- */
.tr-about { margin-top: clamp(56px, 8vw, 92px); padding: clamp(22px, 3.5vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.tr-about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 48px); }
.tr-about h2 { margin: 8px 0 12px; color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.015em; }
.tr-about p { max-width: 46rem; }
.tr-about a { color: var(--data); }
.tr-about-side { display: grid; gap: 18px; align-content: start; }
@media (max-width: 860px) { .tr-about-grid { grid-template-columns: 1fr; } }
.tr-share h2 { font-size: 1.125rem !important; margin: 4px 0 10px !important; }
.tr-share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tr-share-done { min-height: 1.4em; margin-top: 8px; color: var(--found-ink); font-size: .875rem; font-weight: 600; }
.tr-another { padding: 18px; border-radius: 16px; background: var(--wash); }
.tr-another-t { color: var(--ink); font-weight: 700; }
.tr-another .tr-btn { margin-top: 12px; }
.tr-switch { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; color: var(--body); font-size: .875rem; cursor: pointer; }
.tr-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-switch-ui { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); transition: background-color .2s; }
.tr-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.tr-switch input:checked + .tr-switch-ui { background: var(--data); }
.tr-switch input:checked + .tr-switch-ui::after { transform: translateX(16px); }
.tr-switch input:focus-visible + .tr-switch-ui { outline: 2px solid var(--ink); outline-offset: 2px; }
.tr-badge { display: grid; gap: 8px; margin-top: 16px; }
.tr-badge textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font: .8125rem/1.4 ui-monospace, Menlo, monospace; color: var(--ink); resize: vertical; }
/* footer: the Visibility Check report's */
.tr-foot { background: linear-gradient(180deg, var(--foot-top), var(--foot-bottom)); color: rgba(255, 255, 255, .72); }
.tr-foot-in { display: flex; flex-direction: column; gap: 18px; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.tr-foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.tr-foot-links a, .tr-foot-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .9); font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.tr-foot-links a:hover, .tr-foot-links button:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(168, 196, 240, .85); text-underline-offset: 3px; }
.tr-foot :focus-visible { outline-color: #fff; }
.tr-foot-fine { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); font-size: .8438rem; line-height: 1.6; }

/* share: the hero's link and the dialog (the Visibility Check report's share dialog) */
.tr-share-link { display: inline-flex; align-items: center; gap: 6px; margin: -10px 0; padding: 10px 0; border: 0; background: none; color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.tr-share-link::before { content: ""; flex: none; width: 1px; height: 12px; margin-right: 6px; background: currentColor; opacity: .3; }
.tr-share-link:hover span, .tr-share-link:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.tr-share .tr-muted { font-size: .9375rem; }
.tr-share-row { margin-top: 14px; }
.tr-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; overflow: auto; border: 0; border-radius: 22px; background: #fff; color: var(--body);
  box-shadow: 0 8px 18px rgba(19, 32, 47, .16), 0 36px 64px rgba(19, 32, 47, .26); font-family: var(--font); }
.tr-dialog::backdrop { background: rgba(19, 32, 47, .5); }
@media (prefers-reduced-motion: no-preference) {
  .tr-dialog[open] { animation: tr-dialog-in .24s var(--ease); }
  .tr-dialog[open]::backdrop { animation: tr-fade .24s var(--ease); }
}
@keyframes tr-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes tr-fade { from { opacity: 0; } }
.tr-dialog-in { padding: clamp(20px, 4vw, 28px); }
.tr-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tr-dialog h2 { margin: 0; color: var(--ink); font-size: 1.375rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.tr-dialog-x { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -8px -10px -8px 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
@media (hover: hover) and (pointer: fine) { .tr-dialog-x:hover { background: var(--line-soft); color: var(--ink); } }
.tr-dialog-text { margin-top: 8px !important; font-size: .9375rem; line-height: 1.55; }
.tr-dialog-field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.tr-dialog-field label, .tr-dialog-label { color: var(--ink); font-size: .875rem; font-weight: 600; }
.tr-dialog-label { margin: 20px 0 8px !important; }
.tr-copy { display: flex; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); overflow: hidden; }
.tr-copy:focus-within { box-shadow: inset 0 0 0 1.5px var(--data), 0 0 0 4px var(--data-soft); }
.tr-copy-input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 500 .9375rem var(--font); outline: none; }
.tr-copy-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 0 16px; border: 0; border-left: 1.5px solid var(--line-2); background: var(--wash); color: var(--ink); font: 600 .9375rem var(--font); cursor: pointer; transition: background-color .15s; }
.tr-copy-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .tr-copy-btn:hover { background: var(--line-soft); } }
.tr-share-buttons { display: flex; flex-direction: column; gap: 10px; }
.tr-share-buttons .tr-btn { width: 100%; }
.tr-social { display: flex; gap: 10px; }
.tr-social-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); transition: transform .16s var(--ease), box-shadow .16s; }
.tr-social-btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .tr-social-btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--line-2), 0 6px 14px rgba(19, 32, 47, .08); } }
.tr-dialog .tr-share-done:empty { display: none; }

/* ---------- tooltip ---------- */
.tr-tip { position: fixed; z-index: 60; max-width: 260px; padding: 7px 11px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 .8125rem/1.35 var(--font);
  box-shadow: 0 8px 24px rgba(19, 32, 47, .18); pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 10px)) scale(.97); transform-origin: 50% 100%;
  transition: opacity .125s var(--ease), transform .125s var(--ease); }
.tr-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.tr-tip.is-instant { transition-duration: 0s; }

/* ---------- motion: data draws itself once when seen; no section fades in on scroll ---------- */
.tr-motion .tr-sec:not(.is-in) [data-grow], .tr-motion .tr-kpis:not(.is-in) [data-grow] { transform: scaleX(0); }
.tr-motion .tr-sec:not(.is-in) [data-rise] { transform: scaleY(0); }
.tr-dvs .tr-dv:nth-child(2) [data-rise] { transition-delay: .05s; }
.tr-dvs .tr-dv:nth-child(3) [data-rise] { transition-delay: .1s; }
.tr-dvs .tr-dv:nth-child(4) [data-rise] { transition-delay: .15s; }
.tr-dvs .tr-dv:nth-child(5) [data-rise] { transition-delay: .2s; }
.tr-dvs .tr-dv:nth-child(6) [data-rise] { transition-delay: .25s; }
.tr-motion .tr-sec:not(.is-in) .tr-chart-plot svg { clip-path: inset(0 100% 0 0); }
.tr-chart-plot svg { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) .1s; }
.tr-motion .tr-sec:not(.is-in) .tr-psi-arc { stroke-dasharray: 0 100; }
.tr-cols .tr-col:nth-child(2) [data-rise] { transition-delay: .05s; }
.tr-cols .tr-col:nth-child(3) [data-rise] { transition-delay: .1s; }
.tr-cols .tr-col:nth-child(4) [data-rise] { transition-delay: .15s; }
.tr-cols .tr-col:nth-child(5) [data-rise] { transition-delay: .2s; }
.tr-cols .tr-col:nth-child(6) [data-rise] { transition-delay: .25s; }
@media (prefers-reduced-motion: no-preference) {
  .tr-sec.is-arrived .tr-sec-body { animation: tr-arrive .5s var(--ease) both; }
  .tr-sec.is-arrived .tr-sec-head :is(h2, h3) { animation: tr-arrive .4s var(--ease) both; }
  .tr-kpi.is-arrived { animation: tr-pop .45s var(--ease) both; }
  .tr-unlock-tick { animation: tr-pop .4s var(--ease) both; }
  .tr-hero .tr-hero-text, .tr-hero .tr-score { animation: tr-arrive .6s var(--ease) both; }
  .tr-hero .tr-score { animation-delay: .08s; }
  .tr-unlocking .tr-locked-ph { transition: filter .45s var(--ease), opacity .45s var(--ease); filter: blur(0); opacity: 1; }
}
@keyframes tr-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tr-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.tr-hero-sec.no-enter .tr-hero-text, .tr-hero-sec.no-enter .tr-score { animation: none; }
/* how this report works: one row per source, not a paragraph (Victor: "avoid walls of text") */
.tr-how { display: grid; gap: 14px; margin-top: 4px; }
.tr-how li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.tr-how-what { color: var(--ink); font-weight: 600; line-height: 1.35; }
.tr-how-line, .tr-how-line .tr-credit { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.tr-about a.tr-btn { color: #fff; }
.tr-share .tr-kicker { display: none; }
/* round 3 review: cards keep their own height (no stretched, half-empty cards); a calmer headline; four movement figures in a row */
.tr-grid { align-items: start; }
.tr-hero-text h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.tr-moves--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .tr-moves--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tr-card--flush .tr-card-title { margin: 0; padding: 18px 16px 6px; }
/* the share picture in the dialog, above the link (the Visibility Check's .vr-share-thumb) */
.tr-share-thumb { display: block; width: 100%; height: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
@media (max-width: 480px) { .tr-share-thumb { display: none; } }
/* the hero's eyebrow wraps by item, not by word */
.tr-hero-text > .tr-kicker { flex-wrap: wrap; row-gap: 4px; }
.tr-hero-text > .tr-kicker > * { white-space: nowrap; }
/* the badge for the client's site: a feature of its own (style cards, light or dark, a preview and the code) */
.tr-badgefeat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: clamp(56px, 8vw, 92px); padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.tr-badgefeat .tr-kicker { gap: 8px; color: var(--data-ink); font-size: 1rem; font-weight: 700; }
.tr-badgefeat .tr-kicker .tr-ico { color: var(--data); }
.tr-badgefeat h2 { margin-top: 10px; color: var(--ink); font-size: clamp(1.625rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.tr-bfield { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.tr-bfield legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.tr-bfield .tr-seg { margin-bottom: 0; }
.tr-bstyles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tr-bstyle { position: relative; cursor: pointer; }
.tr-bstyle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-bstyle-in { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 14px 10px 10px; border-radius: 14px; background: var(--wash); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s, background-color .15s; }
.tr-bstyle-pic { display: flex; align-items: center; justify-content: center; min-height: 64px; width: 100%; }
.tr-bstyle-pic svg { max-width: 100%; height: auto; max-height: 64px; }
.tr-bstyle-name { color: var(--body); font-size: .875rem; font-weight: 600; }
.tr-bstyle input:checked + .tr-bstyle-in { background: #fff; box-shadow: inset 0 0 0 2px var(--data); }
.tr-bstyle input:checked + .tr-bstyle-in .tr-bstyle-name { color: var(--data-ink); }
.tr-bstyle input:focus-visible + .tr-bstyle-in { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .tr-bstyle:hover .tr-bstyle-in { box-shadow: inset 0 0 0 1.5px var(--line-2); } .tr-bstyle input:checked + .tr-bstyle-in { box-shadow: inset 0 0 0 2px var(--data); } }
.tr-badgefeat-side { display: flex; flex-direction: column; gap: 10px; }
.tr-bpreview { display: grid; place-items: center; min-height: 170px; margin-bottom: 8px; border-radius: 16px; background: var(--wash); transition: background-color .2s; }
.tr-bpreview[data-theme="dark"] { background: var(--line-soft); }
.tr-badgefeat-side textarea { width: 100%; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink); font: .8125rem/1.45 ui-monospace, Menlo, monospace; resize: vertical; }
.tr-badgefeat-side .tr-btn { align-self: flex-start; }
.tr-badgefeat-side .tr-fine { margin-top: 0; }
@media (max-width: 860px) { .tr-badgefeat { grid-template-columns: 1fr; } }
.tr-switch b { color: var(--ink); font-weight: 600; }
/* round 3, card heights (Victor: "column heights are even and theres not large gaps in between cards"): cards in a row
   stretch to the same height, and their chart or list takes up the extra room */
.tr-grid { align-items: stretch; }
.tr-card { display: flex; flex-direction: column; }
.tr-card > .tr-chart { display: flex; flex-direction: column; flex: 1 1 auto; }
.tr-card > .tr-chart .tr-chart-plot { flex: 1 1 auto; min-height: 150px; }
.tr-card > .tr-cols, .tr-card > .tr-emptyshape { flex: 1 1 auto; }
.tr-card > .tr-geos, .tr-card > .tr-kvs, .tr-card > .tr-bars { flex: 1 1 auto; align-content: space-between; }
.tr-card > .tr-sources { margin-top: auto; padding-top: 14px; }
/* engagement and rank: hints as tooltips; the country's flag and the category's icon by their numbers */
.tr-kv-l { border-bottom: 1px dotted var(--line-2); cursor: help; }
.tr-kv dd { display: inline-flex; align-items: center; gap: 8px; }
.tr-kv-mark { display: inline-flex; align-items: center; font-size: 1.125rem; line-height: 1; cursor: default; }
.tr-kv-mark--ico { color: var(--tone-ink); }
/* top countries: share and visitors */
.tr-geo { grid-template-columns: 26px minmax(90px, 9rem) 1fr 5.6rem; }
.tr-geo-val small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; }
/* an empty card: the chart's shape, faded and still, with the reason over it */
.tr-emptyshape { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 180px; }
.tr-ghost { opacity: .55; }
.tr-ghost--cols { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.tr-ghost--cols i { flex: 1; height: calc(var(--h) * 100%); border-radius: 8px 8px 4px 4px; background: var(--line-soft); }
.tr-ghost--rows { display: grid; gap: 14px; }
.tr-ghost--rows i { display: block; height: 10px; width: calc(var(--w) * 100%); border-radius: 5px; background: var(--line-soft); }
.tr-ghost--line { height: 150px; }
.tr-ghost--line svg { width: 100%; height: 100%; }
.tr-ghost--line path { fill: none; stroke: var(--line); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tr-emptyshape-why { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; max-width: 90%; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); color: var(--body); font-size: .875rem; font-weight: 500; }
.tr-emptyshape-why .tr-ico { flex: none; color: var(--muted); }
/* the tiles inside a stretched card grow with it (Victor: "add more padding to the 4 kpi cards in the left hand side
   cards" to balance the heights) */
.tr-card > .tr-gauges, .tr-card > .tr-stats:first-child:last-child { flex: 1 1 auto; grid-auto-rows: 1fr; }
.tr-gauge, .tr-stat { justify-content: center; }
.tr-gauge { padding: 18px 18px; }
/* callouts ("Your Google traffic is worth …", the re-check note): the Visibility Check report's note callout
   (.vr-callout--note: a soft tint of the accent, a 1px border in a deeper tint, 20px radius, icon then text, ink
   .9688rem/1.6), in the section's colour (Victor: "find reference from other pages like the visibility check") */
.tr-callout { gap: 14px; align-items: flex-start; margin-bottom: 16px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid color-mix(in srgb, var(--tone) 28%, #fff); border-radius: 20px;
  background: var(--tone-soft); color: var(--ink); font-size: .9688rem; line-height: 1.6; }
.tr-callout .tr-ico { margin-top: 3px; color: var(--tone-ink); }
.tr-callout strong { font-weight: 800; }
/* the score panel (29 Nov 2026, "improve the appearance of this"): round-ended arcs, no guide circle, and each part
   with a bar of its own score in its colour, its weight beside the name */
.tr-ring-guides { display: none; }
.tr-ring-track { stroke: var(--line-soft); }
.tr-parts { gap: 2px; }
.tr-part { grid-template-columns: 10px 1fr 2.2rem; gap: 12px; padding: 8px 10px; }
.tr-part-main { display: grid; gap: 6px; min-width: 0; }
.tr-part-name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--ink); font-weight: 600; font-size: .9375rem; }
.tr-part-name em { display: inline; color: var(--muted); font-size: .75rem; font-weight: 500; }
.tr-part-bar { display: block; height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.tr-part-bar i { display: block; height: 100%; border-radius: 3px; transform-origin: left; transform: scaleX(var(--w)); transition: transform .9s var(--ease); }
.tr-part--authority .tr-part-bar i { background: var(--p-authority); }
.tr-part--links .tr-part-bar i { background: var(--p-links); }
.tr-part--search .tr-part-bar i { background: var(--p-search); }
.tr-part--speed .tr-part-bar i { background: var(--p-speed); }
.tr-part--trust .tr-part-bar i { background: var(--p-trust); }
.tr-part-val { font-size: 1.0625rem; font-weight: 800; text-align: right; }
.tr-motion .tr-hero-sec:not(.is-in) .tr-part-bar i { transform: scaleX(0); }
.tr-score-in { grid-template-columns: minmax(150px, .95fr) minmax(0, 1.05fr); gap: 22px; }
/* a column of cards beside a taller card: the last one takes up the rest of the height */
.tr-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tr-stack > .tr-card:last-child, .tr-stack > .tr-locked:last-child { flex: 1 1 auto; }
.tr-stack > .tr-locked { margin-top: 0 !important; }
.tr-card > .tr-moves { flex: 1 1 auto; grid-auto-rows: 1fr; }
.tr-move { justify-content: center; }
/* keyword tables: the position first */
.tr-table .tr-pos-cell { width: 3.5rem; padding-right: 0; text-align: left; }
/* a side card that fills the rest of a column: an icon, a title, a line and one button, centred */
.tr-sidecard { justify-content: center; align-items: flex-start; gap: 8px; background: var(--wash); box-shadow: none; }
.tr-sidecard h3 { margin: 4px 0 0 !important; }
.tr-sidecard p { color: var(--body); font-size: .9375rem; max-width: 30rem; }
.tr-sidecard .tr-btn { margin-top: 8px; }
.tr-sidecard-ico { display: inline-flex; color: var(--tone); }
.tr-grid > .tr-card > .tr-checks:last-child, .tr-grid > .tr-card > .tr-fixes:last-child { flex: 1 1 auto; align-content: space-evenly; }
.tr-src .tr-fav.tr-logomark { width: 28px; height: 28px; padding: 5px; }
.tr-chip .tr-fav { width: 16px; height: 16px; }
/* tooltips: the Visibility Check report's (.vr-tiptext, Victor 29 Nov 2026: "make sure the tooltips are all the same
   style"): a white bubble up to 16rem wide with a soft shadow and a 5px arrow, the name as a heading in #1d1d1d over one
   line in #5b6674, rising 8px into place in 160 ms. Used by [data-tip] (.tr-tip) and the charts (.tr-chart-tip). */
.tr-tip, .tr-chart-tip { width: max-content; max-width: min(16rem, calc(100vw - 3rem)); padding: 14px 16px; border-radius: 16px; background: #fff; color: #5b6674;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15); font: 400 .875rem/1.45 var(--font); text-align: left; white-space: normal; }
.tr-tip::after, .tr-chart-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }
.tr-tip::after { left: calc(50% + var(--ax, 0px)); }   /* a tooltip held inside the screen keeps its arrow on the point (--ax, traffic-report.js tipAt) */
.tr-tip { transform: translate(-50%, calc(-100% - 2px)); transition: opacity .16s var(--ease), transform .16s var(--ease); }
.tr-tip.is-on { transform: translate(-50%, calc(-100% - 10px)); }
.tr-tip-h { display: block; color: #1d1d1d; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tr-tip-p { display: block; margin-top: .3em; }
.tr-chart-tip { color: #1d1d1d; font-weight: 600; }
.tr-chart-tip small { display: block; margin-top: .3em; color: #5b6674; font-size: .875rem; font-weight: 400; }
/* "This month" beside the keyword table: four rows that share the card's height */
.tr-stack .tr-moves { grid-template-columns: 1fr; }
.tr-stack .tr-move { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 10px 14px; }
.tr-stack .tr-move span:not(.tr-move-ico) { font-size: .9375rem; color: var(--body); font-weight: 500; }
.tr-gmore { margin-top: 4px; }
.tr-gmore summary { padding: 10px 0 4px; }
/* "This month" beside the keyword table: four rows that share the card's height */
.tr-stack .tr-moves { grid-template-columns: 1fr; }
.tr-stack .tr-move { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 10px 14px; }
.tr-stack .tr-move span:not(.tr-move-ico) { font-size: .9375rem; color: var(--body); font-weight: 500; }
.tr-gmore { margin-top: 4px; }
.tr-gmore summary { padding: 10px 0 4px; }
/* table cards ("Your top keywords", strongest links): even padding all round, the title on the same left edge as the
   cells, room under the last row */
.tr-card--flush { padding: 12px 12px 14px; }
.tr-card--flush .tr-card-title { margin: 0; padding: 14px 14px 8px; }
.tr-card--flush .tr-table th:first-child, .tr-card--flush .tr-table td:first-child { padding-left: 14px; }
.tr-card--flush .tr-table th:last-child, .tr-card--flush .tr-table td:last-child { padding-right: 14px; }
/* a locked remainder as the table's last row: the lock, the line, a link to the one form */
.tr-table tr.tr-unlock-row td { padding-top: 14px; padding-bottom: 14px; }
@media (hover: hover) and (pointer: fine) { .tr-table tbody tr.tr-unlock-row:hover { background: transparent; } }
.tr-unlock-row-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--body); font-weight: 500; }
.tr-unlock-row-in > .tr-ico { color: var(--muted); }
.tr-unlock-row-in a { display: inline-flex; align-items: center; gap: 4px; color: var(--data-ink); font-weight: 700; text-decoration: none; }
.tr-unlock-row-in a:hover { text-decoration: underline; }
/* Google results, as the customer report's rankings card (30 Nov 2026): position box, the site's mark, its name and
   address, the title as a link; your own results tinted */
.tr-gres { gap: 0; margin-top: 10px; }
.tr-gr { display: grid; grid-template-columns: 32px 32px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 10px; margin: 0 -10px; border-radius: 14px; }
.tr-gr + .tr-gr { border-top: 1px solid var(--line-soft); }
.tr-gr.is-you { background: var(--found-soft); }
.tr-gr-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--chip); color: var(--ink); font-size: .875rem; font-weight: 700; cursor: default; }
.tr-gr.is-you .tr-gr-n { background: #fff; color: var(--found-ink); }
.tr-gr-mark { display: inline-flex; }
.tr-gr-mark .tr-fav { width: 32px; height: 32px; box-shadow: 0 0 0 1px var(--line); padding: 0; }
.tr-gr-mark .tr-fav--none { padding: 6px; background: #fff; }
.tr-gr-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tr-gr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tr-gr-name { color: var(--ink); font-weight: 600; font-size: .9375rem; }
.tr-gr-url { color: var(--muted); font-size: .8125rem; }
.tr-gr-head .tr-you { margin-left: auto; align-self: center; }
.tr-gr-title { color: var(--data-ink); font-weight: 600; font-size: 1rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
a.tr-gr-title:hover { text-decoration: underline; }
/* the empty card's stand-in fills the card (Victor: "the skeleton should fit the card better") */
.tr-card > .tr-emptyshape { flex: 1 1 auto; justify-content: stretch; min-height: 200px; }
.tr-emptyshape .tr-ghost--cols { flex: 1 1 auto; height: auto; min-height: 170px; align-items: flex-end; padding-bottom: 26px; position: relative; }
.tr-emptyshape .tr-ghost--cols::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 8px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--line-soft) 0 calc(100% / 6 - 10px), transparent calc(100% / 6 - 10px) calc(100% / 6)); }
.tr-emptyshape .tr-ghost--rows { flex: 1 1 auto; align-content: space-evenly; }
.tr-emptyshape .tr-ghost--line { flex: 1 1 auto; height: auto; min-height: 150px; }
/* This month: 2 × 2 (Victor, 30 Nov 2026) */
.tr-stack .tr-moves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-stack .tr-move { flex-direction: column; justify-content: center; align-items: flex-start; padding: 12px 14px; }
/* Latest articles: the outlet's mark, the headline, outlet and date; the locked rest as the last row */
.tr-articles li.tr-art { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; }
.tr-art-mark .tr-fav { width: 28px; height: 28px; box-shadow: 0 0 0 1px var(--line); }
.tr-art-mark .tr-fav--none { padding: 5px; background: #fff; }
.tr-art-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tr-art-meta { color: var(--muted); font-size: .875rem; }
.tr-articles li.tr-art--unlock { display: block; padding: 14px 0 4px; }
/* the badge card: heading on top; choices beside the preview and code */
.tr-badgefeat { display: block; }
.tr-badgefeat-head { margin-bottom: 22px; max-width: 46rem; }
.tr-badgefeat-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.tr-bfield-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tr-bfield-label { color: var(--ink); font-size: .9375rem; font-weight: 600; }
.tr-bfield-row .tr-seg { margin: 0; }
.tr-bstyle-in { padding: 12px 8px 8px; }
.tr-bstyle-pic { min-height: 56px; }
.tr-bstyle-pic svg { max-height: 56px; }
.tr-badgefeat-side { justify-content: space-between; }
.tr-bpreview { flex: 1 1 auto; min-height: 150px; }
.tr-badge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
@media (max-width: 860px) { .tr-badgefeat-body { grid-template-columns: 1fr; } }
/* How this report works: compact, the sources in two columns */
.tr-about { padding: clamp(20px, 3vw, 30px); }
.tr-about h2 { font-size: 1.25rem; margin: 6px 0 14px; }
.tr-how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.tr-how li { grid-template-columns: 24px 1fr; gap: 10px; }
.tr-how .tr-logomark { width: 24px; height: 24px; }
.tr-how .tr-fav.tr-logomark { padding: 4px; }   /* the checked site's own icon as a source mark (3 Dec 2026) */
.tr-how-what { font-size: .9375rem; }
.tr-how-line, .tr-how-line .tr-credit { font-size: .8125rem; }
.tr-about-side { gap: 14px; }
.tr-share h2 { margin-top: 0 !important; }
.tr-another { padding: 14px 16px; }
@media (max-width: 560px) { .tr-how { grid-template-columns: 1fr; } }
/* tiles side by side: the label and the figure start on the same line in every tile (Victor, 30 Nov 2026) */
.tr-gauge, .tr-stat, .tr-stack .tr-move { justify-content: flex-start; }
.tr-stats .tr-stat-label { min-height: 1.35em; }
/* the empty card's note: the source's logomark, sized to the pill */
.tr-emptyshape-why { padding: 6px 16px 6px 6px; gap: 10px; white-space: nowrap; max-width: calc(100% - 24px); }
.tr-emptyshape-why .tr-logomark { width: 28px; height: 28px; box-shadow: none; }
.tr-emptyshape-why span { overflow: hidden; text-overflow: ellipsis; }
.tr-gr-head:empty { display: none; }
.tr-gr-main:has(.tr-gr-head:empty) { justify-content: center; min-height: 32px; }
.tr-stat-value .tr-delta { display: inline-flex; align-items: center; gap: 4px; }
.tr-delta--flat { color: var(--ink); }
/* "Check another site" under the How-this-report-works card, in the callout style */
.tr-another-callout { display: flex; align-items: center; gap: 12px 14px; margin-top: 16px; }
.tr-another-callout > span { flex: 1 1 auto; }
.tr-another-callout .tr-ico:first-child { margin-top: 0; }
.tr-another-callout .tr-btn { flex: none; min-height: 40px; }
@media (max-width: 560px) { .tr-another-callout { flex-wrap: wrap; } }
.tr-about-side { align-content: start; }
/* links that open in a new tab: the text in ink, a small arrow after it; underline on hover */
a.tr-out { color: inherit; text-decoration: none; }
a.tr-out:hover { color: var(--data-ink); text-decoration: underline; text-underline-offset: 3px; }
a.tr-gr-title.tr-out { color: var(--data-ink); }
.tr-out-ico { display: inline-flex; margin-left: 4px; color: var(--muted); opacity: .55; vertical-align: 1px; transition: opacity .15s; }
a.tr-out:hover .tr-out-ico, a.tr-out:focus-visible .tr-out-ico { opacity: 1; color: var(--data-ink); }
.tr-site-cell { display: flex; align-items: center; gap: 10px; }
.tr-site-cell .tr-fav { width: 20px; height: 20px; box-shadow: 0 0 0 1px var(--line); }
.tr-art-meta { display: flex; flex-wrap: wrap; gap: 4px 0; }
.tr-art-meta > span + span::before { content: "·"; margin: 0 6px; }
.tr-art-dom { color: var(--body); font-weight: 500; }
.tr-art-title a.tr-out { font-weight: 600; color: var(--ink); }

/* =====================================================================================================================
   Round 4 (29 Nov 2026, Victor: "improve its design … scan-ability, flow, hierarchy, and cognitive load … a premium
   report that really highlights the main points"). What changed, and why:
   1. Key findings under the result cards (.tr-sum): what works, what to fix first, the next step. The report's main
      points sat 12,000 px down, in the action plan.
   2. Two heading levels: a chapter per navbar tab; the sections inside a chapter (.tr-sec--sub) get a smaller head and
      less room above. All 14 heads were the same size, so nothing led.
   3. Sections that feed the score wear their part's ring colour and show its weight and score in the head
      (.tr-sec-part), so the ring, its legend and the sections read as one system.
   4. Flat figures: the grey tiles inside white cards (.tr-stat, .tr-gauge, .tr-move) are plain figures on hairlines.
      A box inside a box gave every number the same weight.
   5. Charts carry their scale's top and bottom values. Phone: the score legend no longer overlaps, tables fit.
   No new colours: "brand" is the hero's blue 550 #2a62c3, "navy" the footer and promo navy #13264a.
   ===================================================================================================================== */
[data-tone="brand"] { --tone: #2a62c3; --tone-soft: color-mix(in srgb, #2a62c3 10%, #fff); --tone-ink: #2153a9; }
[data-tone="navy"] { --tone: #13264a; --tone-soft: #eef1f6; --tone-ink: #13264a; }
[data-tone="violet"] { --tone: #9057ff; --tone-soft: #edeafc; --tone-ink: #733ad9; }
[data-tone="amber"] { --tone: #b37600; --tone-soft: #fbf0d9; --tone-ink: #7c4c00; }

/* 1. key findings */
.tr-sum { margin-top: 16px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); scroll-margin-top: 88px; }
.tr-sum-head h2 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.tr-sum-head h2 .tr-ico { color: var(--data); }
.tr-sum-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: 18px; }
.tr-sum-col h3 { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9375rem; font-weight: 600; }
.tr-sum-list { display: grid; }
.tr-sum-list li + li { border-top: 1px solid var(--line-soft); }
.tr-sum-item { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 12px; align-items: start; padding: 13px 8px; margin: 0 -8px; border-radius: 12px; color: var(--body); line-height: 1.45; text-decoration: none; transition: background-color .15s; }
.tr-sum-item strong { color: var(--ink); font-weight: 700; }
.tr-sum-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .8125rem; font-weight: 800; line-height: 1; }
.tr-sum-col--good .tr-sum-ico { background: var(--found-soft); color: var(--found-ink); }
.tr-sum-col--bad .tr-sum-ico { background: var(--part-soft); color: var(--part-ink); }
.tr-sum-go { margin-top: 3px; color: var(--line-2); transition: transform .2s var(--ease), color .15s; }
@media (hover: hover) and (pointer: fine) {
  .tr-sum-item:hover { background: var(--wash); color: var(--body); }
  .tr-sum-item:hover .tr-sum-go { color: var(--ink); transform: translateX(2px); }
}
.tr-sum-none, .tr-sum-wait { padding-top: 13px; color: var(--muted); }
.tr-sum-wait { font-size: .875rem; }
.tr-sum .tr-skel-rows { margin-top: 14px; }
.tr-sum-next { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: var(--wash); color: var(--body); line-height: 1.45; }
.tr-sum-next > .tr-ico { flex: none; color: var(--data-ink); }
.tr-sum-next > span { flex: 1 1 auto; min-width: 0; }
.tr-sum-next strong { color: var(--ink); font-weight: 700; }
.tr-sum-next a { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--data-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tr-sum-next a:hover { text-decoration: underline; }
.tr-unlock { margin-top: 16px; }
@media (max-width: 760px) {
  .tr-sum-cols { grid-template-columns: 1fr; }
  .tr-sum-col + .tr-sum-col { margin-top: 20px; }
  .tr-sum-next { flex-wrap: wrap; }
  .tr-sum-next > span { flex-basis: calc(100% - 30px); }
  .tr-sum-next a { margin-left: 30px; min-height: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tr-sum.is-arrived .tr-sum-cols, .tr-sum.is-arrived .tr-sum-next { animation: tr-arrive .5s var(--ease) both; }
}

/* 2. two heading levels */
.tr-sec { margin-top: clamp(64px, 8vw, 104px); }
.tr-sec--sub { margin-top: clamp(36px, 4.5vw, 52px); }
.tr-sec-head { max-width: none; margin-bottom: 20px; }
.tr-sec-head :is(h2, h3), .tr-sec-head .tr-lede { max-width: 52rem; }
.tr-sec-head :is(h2, h3) { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.tr-sec--sub .tr-sec-head { margin-bottom: 14px; }
.tr-sec--sub .tr-sec-head .tr-kicker { font-size: .9375rem; }
/* Victor, 3 Dec 2026: "All headers under the section eyebrow text should have the same font size as the 'What stands
   out for' header": the sub-sections, the badge block and "Where the numbers come from" take the section h2's size
   (they were 24, 32 and 20 px). */
.tr-sec--sub .tr-sec-head :is(h2, h3) { margin-top: 6px; }
.tr-badgefeat h2, .tr-about h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.tr-sec--sub .tr-lede { margin-top: 4px; font-size: 1rem; color: var(--muted); }

/* 3. the score part a section explains: its weight, the legend's bar, its score */
.tr-sec-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.tr-sec-part { display: inline-grid; grid-template-columns: auto 96px auto; align-items: center; gap: 12px; min-height: 36px; padding: 4px 6px 4px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted); font-size: .875rem; font-weight: 500; text-decoration: none; transition: box-shadow .15s; }
.tr-sec-part .tr-part-bar { background: var(--line-soft); }
.tr-sec-part-v { min-width: 3.4rem; padding: 3px 9px; border-radius: 999px; background: var(--wash); color: var(--ink); font-size: .9375rem; font-weight: 800; text-align: center; }
.tr-sec-part-v small { color: var(--muted); font-size: .75rem; font-weight: 500; }
.tr-motion .tr-sec:not(.is-in) .tr-sec-part .tr-part-bar i { transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .tr-sec-part:hover { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); } }
@media (max-width: 480px) { .tr-sec-part { grid-template-columns: auto 64px auto; } }

/* 4. flat figures: no tiles inside cards */
.tr-card .tr-stat, .tr-card .tr-gauge, .tr-card .tr-move { padding: 0; border-radius: 0; background: none; }
.tr-card .tr-stats { gap: 0 clamp(16px, 2.4vw, 28px); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.tr-card .tr-stats:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tr-card .tr-stats--2 { row-gap: 18px; }
.tr-card .tr-stats--2 > .tr-stat:nth-child(n+3) { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.tr-card .tr-stats--2 { row-gap: 18px; }
.tr-card > .tr-stats:first-child:last-child { grid-auto-rows: auto; align-content: space-evenly; }
.tr-stat-value { font-size: 1.625rem; }
.tr-card .tr-stats + h3 { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.tr-card .tr-gauges { gap: 0 clamp(20px, 3vw, 36px); }
.tr-card .tr-gauge { padding: 16px 0; justify-content: center; }
.tr-card .tr-gauge:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
@media (max-width: 420px) { .tr-card .tr-gauge + .tr-gauge { border-top: 1px solid var(--line-soft); } }
.tr-card .tr-gauge:hover, .tr-card .tr-gauge:focus-visible { background: none; }
.tr-gauge-track { background: var(--line-soft); box-shadow: none; }
.tr-stack .tr-moves { gap: 0 clamp(16px, 2.4vw, 28px); }
.tr-stack .tr-move { padding: 12px 0; }
.tr-stack .tr-move:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
.tr-move strong { font-size: 1.5rem; }
/* channels: a column on the baseline, no grey track behind it */
.tr-col-bar { background: none; border-bottom: 1px solid var(--line); border-radius: 0; }
.tr-col-bar i { border-radius: 6px 6px 0 0; }
/* a quiet pointer at the foot of a card (was a filler card of its own) */
.tr-card-foot { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 16px; color: var(--body); font-size: .9375rem; line-height: 1.45; }
.tr-card-foot::before { content: none; }
.tr-card-foot .tr-ico { flex: none; margin-top: 3px; color: var(--tone); }
.tr-card-foot a { color: var(--data-ink); font-weight: 600; }
.tr-card > .tr-checks + .tr-card-foot, .tr-card > .tr-tags + .tr-card-foot { border-top: 1px solid var(--line-soft); margin-top: 16px; }
.tr-card > .tr-tags + .tr-card-foot { margin-top: auto; }
.tr-card > .tr-tags { margin-bottom: 16px; }
/* trust: nine checks in two columns */
.tr-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.tr-checks--2 .tr-check:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.tr-checks--2 .tr-check { grid-template-columns: 24px minmax(0, 1fr) auto; }
@media (max-width: 640px) { .tr-checks--2 { grid-template-columns: 1fr; } .tr-checks--2 .tr-check:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line-soft); } }
.tr-grid > .tr-card > .tr-checks--2:last-child { align-content: start; }
/* speed fixes: the time each saves as a bar */
.tr-fixes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 14px 0; }
.tr-fixes .tr-bar-track { grid-column: 1 / -1; height: 6px; }
.tr-fixes .tr-bar-track i { background: var(--found); }
.tr-grid > .tr-card > .tr-fixes:last-child { align-content: start; }

/* 5. charts: the scale's top and bottom values */
.tr-chart-y { position: absolute; left: 0; z-index: 1; padding: 0 6px 0 0; color: var(--muted); font-size: .6875rem; font-weight: 500; line-height: 1; pointer-events: none; }
.tr-chart-y--max { top: 4px; }
.tr-chart-y--min { bottom: 4px; }
.tr-locked-ph .tr-chart-y { display: none; }

/* phone: the score legend under the ring, tables that fit */
@media (max-width: 560px) {
  .tr-score-in { grid-template-columns: 1fr; gap: 14px; }
  .tr-ring { max-width: 190px; }
  .tr-table th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
  .tr-table th, .tr-table td { padding: 10px 8px; }
  .tr-card--flush .tr-table th:first-child, .tr-card--flush .tr-table td:first-child { padding-left: 10px; }
  .tr-card--flush .tr-table th:last-child, .tr-card--flush .tr-table td:last-child { padding-right: 10px; }
  .tr-table .tr-pos-cell { width: 2.6rem; }
  .tr-table { font-size: .875rem; }
  .tr-geo { grid-template-columns: 24px minmax(0, 1fr) 64px 4.6rem; }
}

/* round 4, second pass */
/* Links wear the ring's coral on their head only: inside the section the coral sat next to the red of "lost" links and
   read as a warning, so its charts and bars are drawn in the brand navy */
[data-tone="coral"] .tr-sec-body { --tone: #13264a; --tone-soft: #eef1f6; --tone-ink: #13264a; }
/* this month: four figures sharing the card's height */
.tr-stack .tr-card > .tr-moves { grid-auto-rows: 1fr; }
.tr-stack .tr-move { justify-content: center; }
/* speed fixes share the card's height */
.tr-grid > .tr-card > .tr-fixes:last-child { align-content: space-evenly; }
.tr-fixes li { border-bottom: 0; }
/* two columns of checks: no rule under each column's last row */
.tr-checks--2 .tr-check:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 640px) { .tr-checks--2 .tr-check:nth-last-child(2) { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 560px) { .tr-card .tr-stats--3 { row-gap: 16px; } }
/* result cards on a phone: the first across both columns, so five cards make three even rows */
@media (max-width: 640px) { .tr-kpis > .tr-kpi:first-child { grid-column: 1 / -1; } }
/* action plan: three opportunity cards, then the quick wins in one row */
.tr-opps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tr-opps .tr-opp { display: flex; flex-direction: column; gap: 0; padding: clamp(18px, 2.2vw, 24px); border-bottom: 1px solid var(--line); }
.tr-opps .tr-opp:first-child { padding-top: clamp(18px, 2.2vw, 24px); }
.tr-opps .tr-opp:last-child { padding-bottom: clamp(18px, 2.2vw, 24px); border-bottom: 1px solid var(--line); }
.tr-opp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tr-opp-top .tr-impact { margin-left: 0; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; vertical-align: 0; }
.tr-opps .tr-opp-n { width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; }
.tr-opps .tr-opp h3 { margin: 16px 0 8px !important; font-size: 1.1875rem; line-height: 1.3; text-wrap: balance; }
.tr-opps .tr-opp > p { color: var(--body); font-size: .9688rem; line-height: 1.55; }
.tr-opps .tr-steps { margin-top: 14px !important; padding: 14px 0 0 1.2rem !important; border-top: 1px solid var(--line-soft); color: var(--ink); font-size: .9375rem; }
.tr-opps .tr-opp > p + .tr-steps { margin-top: auto !important; }
.tr-opps .tr-opp > p { padding-bottom: 14px; }
.tr-opps .tr-steps li { margin: 6px 0; padding-left: 2px; }
.tr-opps .tr-steps li::marker { color: var(--muted); font-weight: 600; }
.tr-wins-card { margin-top: 16px; }
.tr-wins-card .tr-wins { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; }
.tr-locked-ph .tr-wins-card .tr-wins li::before { content: none; }
@media (max-width: 960px) { .tr-opps { grid-template-columns: 1fr; } .tr-wins-card .tr-wins { grid-template-columns: 1fr; } }
/* the three opportunity cards share their rows (rank, title, why, steps), so the rules and steps line up across them */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    .tr-opps .tr-opp { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .tr-opps .tr-opp > p + .tr-steps { margin-top: 0 !important; }
  }
}
/* the chart's scale sits in a gutter left of the plot (on the plot it covered a line that starts high) */
.tr-chart-plot, .tr-chart-axis { margin-left: 46px; }
.tr-chart-y { left: auto; right: calc(100% + 8px); padding: 0; white-space: nowrap; text-align: right; }
.tr-chart-y--max { top: -4px; }
.tr-chart-y--min { bottom: -4px; }
.tr-locked-ph .tr-chart-plot, .tr-locked-ph .tr-chart-axis { margin-left: 0; }
@media (max-width: 480px) { .tr-chart-plot, .tr-chart-axis { margin-left: 40px; } }
/* long tables: "Show all N" under the first rows, in the report's own disclosure style (.tr-more summary: "All figures",
   "Show results 7 to 8"), not a new control */
.tr-more-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; margin: 0 0 4px; padding: 8px 14px; border: 0; background: none; color: var(--tone-ink); font: 600 1rem/1.6 var(--font); cursor: pointer; }
.tr-more-btn .tr-ico { transition: transform .2s var(--ease); }
.tr-more-btn[aria-expanded="true"] .tr-ico { transform: rotate(180deg); }
/* a card with a pointer at its foot: the checks share the room above it */
.tr-card:has(> .tr-card-foot) > .tr-checks { flex: 1 1 auto; align-content: space-evenly; }
@media (max-width: 560px) { .tr-table td { overflow-wrap: anywhere; } }
/* result cards on a tablet: two then three, so five cards leave no gap in the last row */
@media (min-width: 641px) and (max-width: 1080px) {
  .tr-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tr-kpis > .tr-kpi { grid-column: span 2; }
  .tr-kpis > .tr-kpi:nth-child(-n+2) { grid-column: span 3; }
}

/* =====================================================================================================================
   Round 5 (30 Nov 2026): Victor's review of round 4, point by point. Each block names the remark it answers.
   ===================================================================================================================== */

/* "When un-scrolled the links in the navbar are not centered": the tabs sit in the middle column of three, so they are
   centred on the page whatever is beside the logo; the score donut fades in without moving them */
@media (min-width: 861px) {
  .tr-nav-in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .tr-nav-cta { justify-self: end; }
  .tr-tabs { justify-content: center; }
}
.tr-nav[data-unlocked="0"] [data-when="open"], .tr-nav[data-unlocked="1"] [data-when="locked"] { display: none; }

/* status marks: "The background colors of the tick, cross, and dash icons … are a bit hard for me to differentiate".
   They were three pale tints. Now three forms as well as three colours: a filled green disc (pass), a filled red disc
   (fail), a hollow grey ring (couldn't check); amber for a caution. All four are the page's own colours. */
.tr-st, .tr-check-ico { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; font-size: .875rem; font-weight: 800; line-height: 1; }
.tr-st--pass, .tr-check--pass .tr-check-ico { background: var(--found); color: #fff; }
.tr-st--fail, .tr-check--fail .tr-check-ico { background: var(--low); color: #fff; }
.tr-st--none, .tr-check--none .tr-check-ico { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tr-st--warn { background: var(--part); color: var(--ink); }
.tr-check { grid-template-columns: 24px minmax(8rem, 1fr) auto; gap: 12px; }
/* the same meaning in pills: allowed = a soft green pill, blocked or failed = a white outlined pill; the mark inside is the disc */
.tr-tag--on { background: var(--found-soft); color: var(--found-ink); }
.tr-tag--off { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.tr-tag--on > .tr-ico, .tr-tag--off > .tr-ico { width: 16px; height: 16px; padding: 3px; border-radius: 50%; color: #fff; margin-left: -6px; }
.tr-tag--on > .tr-ico { background: var(--found); }
.tr-tag--off > .tr-ico { background: var(--low); }
.tr-tags .tr-tag--on, .tr-tags .tr-tag--off { padding-left: 12px; }

/* text links that end in the chevron: "should end with the right chevron icon the animates on hover" */
.tr-go { display: inline-flex; align-items: center; gap: 4px; color: var(--data-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tr-go .tr-ico, .tr-unlock-row-in a .tr-ico, .tr-sum-next a .tr-ico { transition: transform .2s var(--ease); }
.tr-card-foot .tr-go .tr-ico { margin-top: 0; color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .tr-go:hover { color: var(--data-ink); text-decoration: underline; text-underline-offset: 3px; }
  .tr-go:hover .tr-ico, .tr-unlock-row-in a:hover .tr-ico, .tr-sum-next a:hover .tr-ico { transform: translateX(3px); }
}

/* Overview: "The Key findings and Free, by email cards should probably be in their own Overview section" */
.tr-ovhead { margin-top: clamp(44px, 5.5vw, 72px); scroll-margin-top: 88px; }
.tr-ovhead + .tr-sum, .tr-ovhead + .tr-unlock { margin-top: 0; }

/* "Can you improve the appearance of the key findings card?": two columns divided by a hairline, each led by its status
   mark; every finding a title over its figure; the next step a band across the card's foot with a real button */
.tr-sum { padding: 0; overflow: hidden; }
.tr-sum-cols { gap: 0; margin-top: 0; }
.tr-sum-col { padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.6vw, 32px) clamp(10px, 1.4vw, 16px); }
.tr-sum-col + .tr-sum-col { border-left: 1px solid var(--line-soft); }
.tr-sum-col h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.tr-sum-item { grid-template-columns: minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 12px 10px; margin: 0 -10px; }
.tr-sum-text { display: grid; gap: 1px; min-width: 0; }
.tr-sum-text strong { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.tr-sum-text span { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.tr-sum-go { margin-top: 0; }
.tr-sum-none { padding: 14px 0; }
.tr-sum .tr-skel-rows { margin: 16px 0 8px; }
.tr-sum-next { gap: 14px; margin: 0; padding: 16px clamp(18px, 2.6vw, 32px); border-top: 1px solid var(--line); border-radius: 0; background: var(--wash); }
.tr-sum-next > span { display: grid; gap: 1px; color: var(--ink); font-weight: 600; }
.tr-sum-next > span strong { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.tr-sum-next--wait > span { color: var(--muted); font-weight: 500; }
.tr-sum-next a.tr-btn { min-height: 40px; padding: 0 16px; color: #fff; font-size: .9375rem; }
.tr-sum-next a.tr-btn:hover { text-decoration: none; }
@media (max-width: 760px) {
  .tr-sum-col + .tr-sum-col { margin-top: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .tr-sum-next > span { flex-basis: calc(100% - 34px); }
  .tr-sum-next a.tr-btn { margin-left: 34px; }
}

/* "In the Unlock the full report card I want the right side … more balanced against the left": the form is a panel of its
   own, as tall as the list beside it, with the field over a full-width button */
.tr-unlock { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tr-unlock-copy { align-self: center; }
.tr-unlock-form { display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 2.4vw, 26px); border-radius: 18px; background: var(--wash); }
.tr-unlock-form-t { margin-bottom: 14px !important; color: var(--ink); font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; }
.tr-unlock-form .tr-field-row { flex-direction: column; gap: 10px; }
.tr-unlock-form .tr-field-row input { flex: none; width: 100%; }
.tr-unlock-form .tr-field-row .tr-btn { width: 100%; }
.tr-unlock.is-open .tr-unlock-form { display: none; }
@media (max-width: 860px) { .tr-unlock { grid-template-columns: 1fr; } }

/* "use more standardized uniform spacing": rows keep one height everywhere; a card no longer spreads its rows to match
   the card beside it. Charts still stretch (they have no rows to spread). */
.tr-card > .tr-geos, .tr-card > .tr-kvs, .tr-card > .tr-bars { align-content: start; }
.tr-grid > .tr-card > .tr-checks:last-child, .tr-grid > .tr-card > .tr-fixes:last-child, .tr-card:has(> .tr-card-foot) > .tr-checks { flex: 0 0 auto; align-content: start; }
.tr-card > .tr-stats:first-child:last-child { align-content: start; }
.tr-stack > .tr-card:last-child { flex: 0 0 auto; }
.tr-card > .tr-checks + .tr-card-foot { margin-top: 12px; }
.tr-geo { padding: 8px 6px; }
.tr-bar { padding: 8px 6px; }
.tr-seg { align-self: flex-start; }   /* "The full width mobile/desktop pill container looks weird": as wide as its options */

/* "Re-evaluate the design and layout of the This month card": the split bar, then four plain rows */
.tr-mv-sum { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px !important; color: var(--muted); font-size: .9375rem; }
.tr-mv-sum b { color: var(--ink); font-size: 1.125rem; font-weight: 800; }
.tr-mvbar { display: flex; gap: 3px; height: 12px; margin-bottom: 8px; border-radius: 6px; overflow: hidden; }
.tr-mvbar i { display: block; min-width: 4px; height: 100%; cursor: default; }
.tr-mvbar-new { background: var(--found); }
.tr-mvbar-up { background: color-mix(in srgb, var(--found) 50%, #fff); }
.tr-mvbar-down { background: color-mix(in srgb, var(--low) 45%, #fff); }
.tr-mvbar-lost { background: var(--low); }
.tr-stack .tr-card .tr-moves { display: grid; grid-template-columns: 1fr; gap: 0; flex: 0 0 auto; grid-auto-rows: auto; }
.tr-stack .tr-card .tr-move { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; flex-direction: unset; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.tr-stack .tr-card .tr-move:first-child { border-top: 0; }
.tr-stack .tr-card .tr-move .tr-move-l { color: var(--body); font-size: .9375rem; font-weight: 500; }
.tr-stack .tr-card .tr-move strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 800; }
.tr-move--up .tr-move-ico { background: color-mix(in srgb, var(--found) 50%, #fff); color: var(--found-ink); }
.tr-move--down .tr-move-ico { background: color-mix(in srgb, var(--low) 45%, #fff); color: #6f1027; }

/* "The Strongest links card looks a bit weird … hard to match the numbers to the site": name, a bar of its rank, links */
.tr-table--links { table-layout: fixed; }
.tr-table--links th:nth-child(1), .tr-table--links td:nth-child(1) { width: 40%; }
.tr-table--links th:nth-child(3), .tr-table--links td:nth-child(3) { width: 7.5rem; }
.tr-table--links th [data-tip] { border-bottom: 1px dotted var(--line-2); cursor: help; }
.tr-rank { display: grid; grid-template-columns: minmax(0, 1fr) 3rem; gap: 14px; align-items: center; }
.tr-rank .tr-bar-track { height: 8px; }
.tr-rank b { color: var(--ink); font-weight: 700; text-align: right; }
.tr-site-cell { min-width: 0; }
.tr-site-cell .tr-out { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-unlock-row td { width: auto !important; }
@media (max-width: 560px) { .tr-table--links th:nth-child(1), .tr-table--links td:nth-child(1) { width: 46%; } .tr-table--links th:nth-child(3), .tr-table--links td:nth-child(3) { width: 4.2rem; } .tr-rank { grid-template-columns: minmax(0, 1fr) 2.2rem; gap: 8px; } }

/* "Remove the numbers from the left of the Google mockup card" */
.tr-gr { grid-template-columns: 32px minmax(0, 1fr); }

/* "Fix the icon size for the RDAP": a source without a logo sits in the same round tile as the logomarks */
.tr-logomark--ico { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--body); }

/* "Tech stack should include favicons/logomarks" */
.tr-tags--tech .tr-tag { gap: 8px; padding: 5px 12px 5px 6px; }
.tr-tag-mark { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; overflow: hidden; }
.tr-tag-mark .tr-fav { width: 16px; height: 16px; border-radius: 0; background: none; }
.tr-tag-mark--ico { color: var(--muted); }

/* "The area/line charts look a bit off with the min and max to the left": no gutter. The plot is as wide as its card, and
   the scale's two values sit in the plot above the top gridline and below the bottom one, where the line never goes. */
.tr-chart-plot, .tr-chart-axis { margin-left: 0; }
.tr-chart-plot { background: none; }
.tr-chart-grid { stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tr-chart-y { left: 0; right: auto; padding: 0; text-align: left; }
.tr-chart-y--max { top: 2px; }
.tr-chart-y--min { bottom: 3px; }
@media (max-width: 480px) { .tr-chart-plot, .tr-chart-axis { margin-left: 0; } }

/* "the Visits by channel skeleton looks very slightly off with the 2nd row of bars": each ghost column carries its label stub */
.tr-emptyshape .tr-ghost--cols { padding-bottom: 0; }
.tr-emptyshape .tr-ghost--cols::after { content: none; }
.tr-ghost--cols > span { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 100%; min-height: 170px; }
.tr-ghost--cols > span > i { flex: none; display: block; height: calc(var(--h) * (100% - 18px)); border-radius: 8px 8px 4px 4px; background: var(--line-soft); }
.tr-ghost--cols > span > b { flex: none; display: block; height: 8px; border-radius: 4px; background: var(--line-soft); }

/* site health (3 Dec 2026, Victor: "side by side cards"): two cards. Left (.tr-psi-card): the device switch, the four
   scores across and Core Web Vitals under them, all of which the switch changes. Right (.tr-psi-fixes): the fixes, with
   the fix guide as the card's foot; the real-visitor chart sits under it when the site has one. Before: one card laid
   out as a grid with the fixes as its right half. */
.tr-psi-rings { margin-bottom: 8px; }
.tr-psi-cwv { padding-top: 20px; border-top: 1px solid var(--line-soft); min-width: 0; }
.tr-psi-card h3, .tr-psi-fixes h3 { margin: 0 0 6px; }
.tr-fixes li { padding: 12px 0; }
.tr-psi-ring svg { width: 84px; height: 84px; }
.tr-psi-n { width: 84px; height: 84px; font-size: 1.5rem; }
.tr-psi-l { font-size: .875rem; }
@media (max-width: 760px) {
  .tr-psi-ring svg, .tr-psi-n { width: 72px; height: 72px; }
  .tr-psi-n { font-size: 1.25rem; }
}

/* the locked parts, once: "one section with a row of 3 card mockups … just above the How this report works section" */
.tr-full .tr-sec-top .tr-btn { min-height: 40px; }
.tr-full-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tr-full-card { padding: 0; overflow: hidden; }
.tr-full-ph { position: relative; height: 150px; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); background: var(--wash); }
.tr-full-ph > :not(.tr-full-lock) { filter: blur(2.5px); opacity: .85; }
.tr-full-lock { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); }
.tr-full-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px 22px 0; }
.tr-full-ico { display: inline-flex; color: var(--tone); }
.tr-full-card p { padding: 6px 22px 22px; color: var(--body); font-size: .9688rem; line-height: 1.55; }
.tr-fmock-line { display: block; width: 100%; height: 100%; }
.tr-fmock-line polyline { fill: none; stroke: var(--tone); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tr-fmock-line polygon { fill: var(--tone); opacity: .12; }
.tr-fmock-comp { display: grid; gap: 10px; align-content: center; height: 100%; }
.tr-fmock-comp li { display: grid; grid-template-columns: 6rem 1fr; gap: 12px; align-items: center; color: var(--body); font-size: .8125rem; }
.tr-fmock-comp i { display: block; width: calc(var(--w) * 100%); height: 14px; border-radius: 5px; background: color-mix(in srgb, var(--tone) 30%, #fff); }
.tr-fmock-comp .is-you i { background: var(--tone); }
.tr-fmock-plan { display: grid; gap: 12px; align-content: center; height: 100%; }
.tr-fmock-plan li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; }
.tr-fmock-plan b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tone); color: #fff; font-size: .8125rem; }
.tr-fmock-plan span { display: grid; gap: 6px; }
.tr-fmock-plan span i { display: block; width: calc(var(--w) * 100%); height: 7px; border-radius: 4px; background: var(--line-2); }
.tr-fmock-plan span i + i { background: var(--line); }
@media (max-width: 860px) { .tr-full-cards { grid-template-columns: 1fr; } .tr-full-ph { height: 130px; } }

/* a short line at the far right of a section's "Data from" row (the locked 12-month trend, under Google search) */
.tr-sources { flex-wrap: wrap; row-gap: 8px; }
.tr-sources-aside { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-left: auto; color: var(--muted); font-size: .875rem; }
.tr-sources-aside > .tr-ico { color: var(--muted); }

/* Featured in without known outlets: the articles take the card */
.tr-news--solo { grid-template-columns: 1fr; }
.tr-art-title { color: var(--ink); font-weight: 600; }

/* How this report works without the share block: six sources in three columns */
.tr-about-grid { grid-template-columns: 1fr; }
.tr-about p { max-width: none; }
.tr-how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
@media (max-width: 860px) { .tr-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tr-how { grid-template-columns: 1fr; } }

/* "Add a share this report link to the far right of the Refunds link in the footer" */
.tr-foot-links .tr-foot-share { gap: 8px; margin-left: auto; }
@media (max-width: 760px) { .tr-foot-links .tr-foot-share { margin-left: 0; } }

/* "The right chevron icon in the footer CTA Check a site button is not the same color as the text" */
.tr-another-callout .tr-btn .tr-ico { margin-top: 0; color: inherit; }

/* the badge card: colours, two actions, the search-engine switch, the trust badge pointer */
.tr-bfield-row--color { justify-content: flex-start; gap: 16px; margin: 18px 0 0; }
/* 2 Dec 2026: the badge's main number, four choices, so the label sits above them; a number this check doesn't have is greyed */
.tr-bfield-row--metric { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.tr-seg-btn[aria-disabled="true"] { color: var(--muted); opacity: .6; cursor: not-allowed; }
@media (max-width: 520px) { .tr-bfield-row--metric .tr-seg { display: grid; grid-template-columns: 1fr 1fr; align-self: stretch; } }
.tr-badgefeat .tr-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tr-bcolors { display: flex; flex-wrap: wrap; gap: 6px; }
.tr-bcolor { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; cursor: pointer; }
.tr-bcolor input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tr-bcolor-sw { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c, #fff); color: var(--muted); transition: box-shadow .15s, transform .15s var(--ease); pointer-events: none; }
.tr-bcolor input:checked + .tr-bcolor-sw, .tr-bcolor--own.is-on .tr-bcolor-sw { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.tr-bcolor--own .tr-bcolor-sw { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tr-bcolor--own.is-on .tr-bcolor-sw { color: transparent; }
.tr-bcolor input:focus-visible + .tr-bcolor-sw { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .tr-bcolor:hover .tr-bcolor-sw { transform: scale(1.08); } }
.tr-bpreview { min-height: 200px; margin-bottom: 14px; padding: 20px; }
.tr-bpreview svg { max-width: 100%; height: auto; }
.tr-bpreview[data-theme="dark"] { background: var(--line); }
.tr-badge-actions { gap: 10px; }
.tr-badgefeat-side .tr-switch { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.tr-tbadge { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; margin-top: clamp(22px, 3vw, 30px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--line-soft); }
.tr-tbadge img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tr-tbadge h3 { color: var(--ink); font-size: 1.1875rem; font-weight: 800; line-height: 1.3; }
.tr-tbadge p { margin: 4px 0 10px; max-width: 34rem; color: var(--body); }
@media (max-width: 640px) { .tr-tbadge { grid-template-columns: 1fr; } .tr-tbadge img { max-width: 320px; } }
/* cards in a row share their top and bottom edges; what is inside keeps its own spacing from the top */
.tr-stack > .tr-card:last-child { flex: 1 1 auto; }
.tr-bar { padding: 5px 6px; }
/* strongest links on a phone: the site's name keeps the room (it was cut to one letter); the rank shows as its number */
@media (max-width: 560px) {
  .tr-table--links th:nth-child(1), .tr-table--links td:nth-child(1) { width: auto; }
  .tr-table--links th:nth-child(2), .tr-table--links td:nth-child(2) { width: 3.4rem; text-align: right; }
  .tr-table--links th:nth-child(3), .tr-table--links td:nth-child(3) { width: 4.4rem; }
  .tr-rank { display: block; }
  .tr-rank .tr-bar-track { display: none; }
  .tr-site-cell .tr-out-ico { display: none; }
}
/* the site cell is a real table cell again (as a flex box it shrank to its text, cut long names short and broke the row's rule) */
td.tr-site-cell { display: table-cell; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
td.tr-site-cell .tr-fav { margin-right: 10px; vertical-align: middle; }
td.tr-site-cell .tr-out { display: inline; overflow: visible; }
/* the navbar between tablet and small laptop: tighter tabs, so all of them fit without scrolling (5 Dec 2026, second list: the report's nine with Badge get extra steps, .tr-nav[data-unlocked] = the report's navbar only; the landing page keeps the 1099 / 950 steps) */
@media (min-width: 861px) and (max-width: 1099px) { .tr-nav-in { gap: 12px; } .tr-tabs { gap: 0; } .tr-tab { padding: 8px 7px; font-size: .875rem; } .tr-tab::after { left: 7px; right: 7px; } } @media (min-width: 1100px) and (max-width: 1179px) { .tr-nav[data-unlocked] .tr-nav-in { gap: 12px; } .tr-nav[data-unlocked] .tr-tabs { gap: 0; } .tr-nav[data-unlocked] .tr-tab { padding: 8px 7px; font-size: .875rem; } .tr-nav[data-unlocked] .tr-tab::after { left: 7px; right: 7px; } }
@media (min-width: 861px) and (max-width: 950px) { .tr-tab { padding: 8px 5px; } .tr-tab::after { left: 5px; right: 5px; } .tr-nav-cta { min-height: 38px; padding: 0 12px; font-size: .875rem; } .tr-logo img { width: 120px; } } @media (min-width: 951px) and (max-width: 1023px) { .tr-nav[data-unlocked] .tr-tab { padding: 8px 5px; } .tr-nav[data-unlocked] .tr-tab::after { left: 5px; right: 5px; } .tr-nav[data-unlocked] .tr-nav-cta { min-height: 38px; padding: 0 12px; font-size: .875rem; } .tr-nav[data-unlocked] .tr-logo img { width: 120px; } } @media (min-width: 861px) and (max-width: 950px) { .tr-nav[data-unlocked] .tr-nav-in { gap: 8px; } .tr-nav[data-unlocked] .tr-logo img { width: 110px; } .tr-nav[data-unlocked] .tr-tab { padding: 8px 3px; font-size: .8125rem; } .tr-nav[data-unlocked] .tr-tab::after { left: 3px; right: 3px; } }

/* =====================================================================================================================
   Round 6 (30 Nov 2026): Victor's follow-up remarks on round 5.
   ===================================================================================================================== */
/* "Improve this CTA": a pointer at the foot of a card, set apart on the page's wash: icon, a bold line over its reason,
   the chevron link on the right (brand search → packages, AI crawlers → the Visibility Check) */
.tr-card-cta { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--wash); }
.tr-card > .tr-tags + .tr-card-cta { margin-top: auto; }
.tr-card-cta-ico { display: inline-flex; color: var(--tone); }
.tr-card-cta p { display: grid; gap: 1px; min-width: 0; }
.tr-card-cta strong { color: var(--ink); font-size: .9688rem; font-weight: 700; line-height: 1.4; }
.tr-card-cta p span { color: var(--body); font-size: .875rem; line-height: 1.45; }
@media (max-width: 1100px) { .tr-card-cta { grid-template-columns: 20px minmax(0, 1fr); } .tr-card-cta .tr-go { grid-column: 2; justify-self: start; min-height: 32px; } }

/* an unlock line at the foot of a card ("should also be at the bottom of the card"; the 12-month trend under Google
   search's first card) */
.tr-card-foot--unlock { flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--body); font-weight: 500; }
.tr-card-foot--unlock > .tr-ico { margin-top: 0; color: var(--muted); }
.tr-card-foot--unlock .tr-go { font-weight: 700; }
.tr-card > .tr-stats + .tr-card-foot--unlock { margin-top: auto; }
.tr-card:has(> .tr-card-foot--unlock) > .tr-stats:first-child { margin-bottom: 18px; }
.tr-card--flush > .tr-card-foot--unlock { margin: auto 0 0; padding: 14px 16px 16px; }
.tr-card--flush:has(> .tr-card-foot--unlock) .tr-table tr:last-child td { border-bottom: 0; }

/* the overview's next step: a link, not a button */
.tr-sum-next .tr-go { flex: none; font-weight: 700; }


/* "Clicking on any of the 3 cards in the full report should take you to the Free, by email card" */
a.tr-full-card { display: flex; flex-direction: column; color: var(--body); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
a.tr-full-card .tr-full-ph { display: block; }
.tr-full-t { display: flex; align-items: center; gap: 8px; padding: 18px 22px 0; color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.tr-full-p { display: block; padding: 6px 22px 22px; color: var(--body); font-size: .9688rem; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) {
  a.tr-full-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-lift); color: var(--body); }
  a.tr-full-card:hover .tr-full-lock { background: var(--ink); color: #fff; }
}
.tr-full-lock { transition: background-color .2s, color .2s; }

/* "The Badge for your site card looks unbalanced": the preview is as tall as the choices beside it; the search-engine
   switch is a row under both columns */
.tr-badgefeat-side { min-height: 100%; }
.tr-bpreview { flex: 1 1 auto; min-height: 220px; margin-bottom: 16px; }
.tr-bpreview svg { zoom: 1.3; }
.tr-badgefeat-side > .tr-fine { margin-top: 12px; }
.tr-badgefeat > .tr-switch { margin-top: clamp(20px, 3vw, 28px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line-soft); }
.tr-tbadge { margin-top: clamp(20px, 3vw, 28px); padding-top: clamp(20px, 3vw, 28px); }
/* latest articles: the "N more" line at the foot of its column */
.tr-news-main { display: flex; flex-direction: column; min-width: 0; }
.tr-news-main > .tr-card-foot--unlock { margin-top: auto; }
.tr-news-main > .tr-articles { margin-bottom: 4px; }

/* =====================================================================================================================
   Round 7 (30 Nov 2026): Victor's third list of remarks.
   ===================================================================================================================== */
/* a click on a navbar tab lands the section right under the bar (one offset, not two), so its tab lights */
html { scroll-padding-top: 92px; }
.tr-sec, .tr-sum, .tr-ovhead, .tr-badgefeat, .tr-about, .tr-unlock { scroll-margin-top: 0; }
@media (max-width: 860px) { html { scroll-padding-top: 116px; } }

/* "make the Free, by email CTA card a bit smaller … reduced by 40-50%": one compact row; what's inside as two short
   columns under the title, the field and button on one line beside it */
.tr-unlock { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px clamp(20px, 3vw, 40px); align-items: center; padding: 20px clamp(18px, 2.6vw, 28px); border-radius: 20px; }
.tr-unlock h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.25rem; line-height: 1.25; }
.tr-unlock h2 > .tr-ico { flex: none; color: var(--data); }
.tr-unlock h2 small { margin-left: 6px; color: var(--muted); font-size: .875rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.tr-unlock-copy { align-self: center; }
.tr-unlock-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin-top: 10px; }
.tr-unlock-list li { gap: 8px; color: var(--body); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.tr-unlock-form { padding: 0; border-radius: 0; background: none; }
.tr-unlock-form .tr-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tr-unlock-form .tr-field-row { flex-direction: row; gap: 8px; }
.tr-unlock-form .tr-field-row input { flex: 1 1 auto; width: auto; height: 48px; }
.tr-unlock-form .tr-field-row .tr-btn { width: auto; min-height: 48px; padding: 0 20px; }
.tr-unlock .tr-tick { margin-top: 10px; font-size: .8125rem; }
.tr-unlock .tr-field-error { margin-top: 8px; }
@media (max-width: 860px) { .tr-unlock { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tr-unlock-form .tr-field-row { flex-direction: column; } .tr-unlock-form .tr-field-row .tr-btn { width: 100%; } .tr-unlock-list { grid-template-columns: 1fr; } }

/* card pointers: the icon in a white tile, the title, one line, the link at the bottom */
.tr-card-cta { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; }
.tr-card-cta-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--tone-ink); }
.tr-card-cta-in { display: grid; gap: 8px; min-width: 0; }
.tr-card-cta .tr-go { grid-column: auto; justify-self: start; min-height: 0; }
@media (max-width: 1100px) { .tr-card-cta { grid-template-columns: 40px minmax(0, 1fr); } .tr-card-cta .tr-go { grid-column: auto; } }

/* the BrandPush card's logo (was the word), and the logo in the footer */
.tr-promo-kicker { line-height: 0; margin-bottom: 8px; }
.tr-promo-kicker img { display: block; width: 126px; height: auto; }
.tr-foot-logo { display: inline-flex; align-self: flex-start; }
.tr-foot-logo img { display: block; width: 151px; height: auto; }

/* trust: the bar inside the first card */
.tr-card > .tr-marks { margin-bottom: 14px; }

/* the three outlet marks before "Want more coverage?" */
.tr-stackmarks { display: inline-flex; align-items: center; margin-right: 2px; }
.tr-stackmarks .tr-logomark { width: 24px; height: 24px; box-shadow: 0 0 0 2px var(--wash), 0 0 0 3px var(--line); }
.tr-stackmarks .tr-logomark + .tr-logomark { margin-left: -6px; }

/* a figure explained by a tooltip on its label and its number */
.tr-stat-label .tr-kv-l { cursor: help; }
.tr-stat-value [data-tip] { cursor: help; }

/* where the numbers come from: eight sources, four across */
.tr-how { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tr-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tr-how { grid-template-columns: 1fr; } }

/* speed card: the ring's colour follows its value when it moves between devices */
.tr-psi-arc { transition: stroke-dasharray .7s var(--ease), stroke .3s; }

/* ---------- 30 Nov 2026: the email form as one pill ----------
   Victor: "On the report page I want the email form to use the same style where the button looks like its inside the
   same pill as the email input field" (the check page's .tl-form). Markup unchanged: the row is the pill, the input
   inside it has no border of its own, and focus and error states sit on the pill. On a phone the two stack inside a
   rounded box, as on the check page. */
.tr-unlock-form .tr-field-row { align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .15s; }
.tr-unlock-form .tr-field-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--data), 0 0 0 4px var(--data-soft); }
.tr-unlock-form .tr-field-row:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 1.5px var(--low); }
.tr-unlock-form .tr-field-row:has(input[aria-invalid="true"]):focus-within { box-shadow: inset 0 0 0 1.5px var(--low), 0 0 0 4px var(--low-soft); }
.tr-unlock-form .tr-field-row input, .tr-unlock-form .tr-field-row input:focus, .tr-unlock-form .tr-field-row input:focus-visible { height: 44px; padding: 0 8px 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; outline: none; }
.tr-unlock-form .tr-field-row .tr-btn { flex: none; min-height: 44px; }
@media (max-width: 480px) {
  .tr-unlock-form .tr-field-row { align-items: stretch; border-radius: 20px; }
  .tr-unlock-form .tr-field-row input { padding: 0 12px; }
}

/* ---------- 30 Nov 2026: Featured in with no coverage ----------
   Victor: "dont add a new card with a CTA for brandpush, instead just add a line of text at the bottom of the card
   with the see packages link. The large CTA card looks too messy and dominating." */
.tr-nonews > div { flex: 1 1 auto; align-self: stretch; min-width: 0; }
.tr-nonews-go { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--body); font-size: .9375rem; }
.tr-nonews-go .tr-go { font-weight: 700; }
/* Later, 30 Nov 2026 (Victor: "to draw a little more attention to this CTA add the brandpush favicon to the left of the
   CTA. Also swap the icon in the Get onto page 1 for your name CTA card to the brandpush favicon"). */
.tr-bpmark { display: block; flex: none; border-radius: 50%; }
.tr-card-cta-ico--bp { background: none; box-shadow: none; }
.tr-nonews-go > span { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 32px); }   /* the text stays beside the mark on a phone */
@media (max-width: 560px) { .tr-nonews-go { align-items: flex-start; } .tr-nonews-go .tr-go { margin-left: 32px; } }

/* ---------- 30 Nov 2026 (late): BrandPush pointers as lines, not cards ----------
   Victor: the empty Traffic section's CTA "matches the formatting in the Featured in section" (same card, .tr-nonews);
   in Links, "a CTA line for brandpush to the far right of the Strongest links header" instead of the card under it. */
.tr-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.tr-card-aside { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 16px 6px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.tr-card-aside .tr-go { font-weight: 700; }
@media (max-width: 720px) { .tr-card-aside { padding: 0 14px 10px; } }
.tr-card-aside > span { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 28px); }   /* the text stays beside the mark on a phone */
@media (max-width: 560px) { .tr-card-aside { align-items: flex-start; } .tr-card-aside .tr-go { margin-left: 28px; } }

/* 30 Nov 2026 (late): the empty Featured in line leads with the three outlet marks, not the BrandPush mark. On the
   white card their ring is white; the text and the link leave room for the wider stack on a phone. */
.tr-nonews-go--stack .tr-stackmarks { flex: none; margin-right: 0; }
.tr-nonews-go--stack .tr-stackmarks .tr-logomark { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.tr-nonews-go--stack > span:not(.tr-stackmarks) { max-width: calc(100% - 72px); }
@media (max-width: 560px) { .tr-nonews-go--stack .tr-go { margin-left: 70px; } }
/* the same line at the foot of the Featured in card when it lists articles */
.tr-card > .tr-news + .tr-nonews-go { margin-top: 18px !important; }

/* 30 Nov 2026, round 9 (Victor): the 12-month chart inside Organic search, the link gap and competitors with marks and
   links, even spacing in the brand search list */
/* the 12-month chart is a card of Organic search (unlocked), between the "worth" line and the figures */
.tr-trend-in { margin-bottom: 16px; }
.tr-trend-in > .tr-card > h3 { margin-bottom: 16px; }
/* link gap: site with its mark (as Strongest links), the rank with its small bar, "Links to" as site pills */
.tr-table--gap { table-layout: fixed; }
.tr-table--gap th:nth-child(1), .tr-table--gap td:nth-child(1) { width: 32%; }
.tr-table--gap th:nth-child(2), .tr-table--gap td:nth-child(2) { width: 24%; }
.tr-table--gap th [data-tip] { border-bottom: 1px dotted var(--line-2); cursor: help; }
.tr-table--gap td { vertical-align: middle; }
.tr-sitepills { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tr-tag--site { gap: 8px; max-width: 100%; min-width: 0; padding: 4px 12px 4px 5px; text-decoration: none; transition: background-color .15s, box-shadow .15s; }
.tr-tag--site .tr-tag-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { a.tr-tag--site:hover { background: var(--line); color: var(--ink); } }
a.tr-tag--site:focus-visible { outline: 2px solid var(--data-ink); outline-offset: 2px; }
/* on a phone each site is two lines: its name with the rank at the right, then "Links to" and the pills under it, so the
   name keeps the whole width (three columns cut it to ten letters) */
@media (max-width: 560px) {
  .tr-table--gap, .tr-table--gap thead, .tr-table--gap tbody { display: block; }
  .tr-table--gap tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 8px 0 10px; border-bottom: 1px solid var(--line-soft); }
  .tr-table--gap tr[hidden] { display: none; }
  .tr-table--gap thead tr { padding: 0; border-bottom-color: var(--line); }
  .tr-table--gap tbody tr:last-child { border-bottom: 0; }
  .tr-table--gap th, .tr-table--gap td, .tr-table--gap td.tr-site-cell { display: block; width: auto !important; border-bottom: 0; }
  .tr-table--gap td { padding-top: 4px; padding-bottom: 4px; }
  .tr-table--gap th:nth-child(3) { display: none; }
  .tr-table--gap td:nth-child(3) { grid-column: 1 / -1; }
  .tr-table--gap .tr-sitepills { align-items: center; }
  .tr-table--gap .tr-sitepills::before { content: "Links to"; margin-right: 2px; color: var(--muted); font-size: .75rem; font-weight: 600; }
  .tr-tag--site { padding: 3px 10px 3px 4px; gap: 6px; font-size: .75rem; }
}
/* competitors: each site with its mark, as a link */
.tr-comp-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tr-comp-name .tr-fav { width: 20px; height: 20px; box-shadow: 0 0 0 1px var(--line); }
.tr-comp-name > .tr-out { display: inline-flex; align-items: center; min-width: 0; }
.tr-comp-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-comp-name .tr-you { flex: none; margin-left: 0; }
/* brand search: the same gap between every result, so highlighted ones next to each other stay apart; no rules */
.tr-gres { gap: 6px; }
.tr-gr, .tr-gr + .tr-gr, .tr-gr.is-you + .tr-gr { border-top: 0; }
.tr-gmore > .tr-gres { margin-top: 6px; }

/* ---------- 2 Dec 2026, funnel round (Victor): the package leads the action plan; "Check another site" is a one-line
   form with the checks used and left; a report that is open for the viewer offers a copy by email ---------- */
/* the recommended package: the plan's first card, marked by its ink border and its label, not by a new colour */
/* Victor, 2 Dec 2026: "give the card a glow instead of the dark border": the cards' own hairline, a soft blue halo */
/* Victor, 2 Dec 2026 (evening): "Instead of the glow ... give that single card a dark background ... the hero section
   background color". The card takes the hero's blue and re-points the text tokens inside it to white, so its bars,
   figures, ticks and hairlines follow without a rule each. The tooltip sits outside the card and keeps its look. */
.tr-opps .tr-opp--pick, .tr-opps .tr-opp--pick:first-child, .tr-opps .tr-opp--pick:last-child {
  --ink: #fff; --body: rgba(255, 255, 255, .88); --muted: rgba(255, 255, 255, .88); --tone: #fff; --found: #fff;
  --line-soft: rgba(255, 255, 255, .2); --wash: rgba(255, 255, 255, .1);
  border: 1px solid transparent; background: var(--hero); color: #fff; box-shadow: none; }
.tr-opps .tr-opp--pick .tr-opp-n { color: var(--hero); }
.tr-opps .tr-opp--pick .tr-bar-track { background: rgba(255, 255, 255, .22); }
.tr-opp-top .tr-impact--pick { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #1a2340; }
.tr-impact--pick .tr-bpmark { border-radius: 4px; }
/* the facts and the price row are ONE fourth child (.tr-pick-body), in the row the other cards' steps lists use */
.tr-pick-body { display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.tr-opps .tr-opp > p + .tr-pick-body { margin-top: auto; }
.tr-opps .tr-pick-facts { gap: 8px; font-size: .9375rem; }
.tr-pick-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.tr-pick-price strong { display: block; color: var(--ink); font-size: 1.625rem; font-weight: 800; line-height: 1.1; }
.tr-pick-price span { color: var(--muted); font-size: .8125rem; }
.tr-pick-foot .tr-btn { flex: none; }
/* "Check another site": label, field and button on one line; the checks line under it */
.tr-another-form { flex: 1 1 auto; min-width: 0; }
.tr-another-row { display: flex; align-items: center; gap: 12px 16px; }
.tr-another-row > label { flex: none; color: var(--ink); font-weight: 700; }
.tr-another-row .tr-field-row { flex: 1 1 auto; min-width: 0; }
.tr-another-row .tr-field-row input { height: 44px; border-radius: 12px; }
.tr-another-row .tr-btn { flex: none; min-height: 44px; }
.tr-another-note { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.tr-another-form .tr-field-error { margin-top: 6px; }
@media (max-width: 720px) { .tr-another-row { flex-wrap: wrap; } .tr-another-row > label { flex-basis: 100%; } }
@media (max-width: 480px) { .tr-another-row .tr-field-row { flex-direction: row; } }
/* "Email me a copy" beside "Full report unlocked" */
.tr-unlock-done .tr-copy-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; margin-left: auto; }
.tr-copy-form .tr-tick { margin-top: 0; align-items: center; font-size: .875rem; }
.tr-copy-form .tr-btn { flex: none; min-height: 40px; }
.tr-copy-form .tr-field-error { flex-basis: 100%; margin: 0; text-align: right; }
@media (max-width: 720px) {
  .tr-unlock-done { flex-wrap: wrap; }
  .tr-unlock-done .tr-copy-form { justify-content: flex-start; margin-left: 44px; }
  .tr-copy-form .tr-field-error { text-align: left; }
}
@media (max-width: 560px) { .tr-another-callout > .tr-ico { display: none; } }

/* ---------- 2 Dec 2026, second list of remarks (Victor) ---------- */
/* visits by channel: the visits under each share, quieter */
.tr-col-val small { display: block; margin-top: 1px; color: var(--muted); font-size: .75rem; font-weight: 500; }
/* action plan: one large BrandPush card, the other two stacked beside it */
.tr-opps--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.tr-opps--lead .tr-opp { display: flex; flex-direction: column; grid-row: auto; grid-template-rows: none; }
.tr-opps--lead .tr-opp--pick { grid-row: 1 / span 2; }
.tr-opps--lead .tr-opp > p + .tr-steps { margin-top: 0 !important; }
.tr-opps--lead .tr-opp--pick h3 { font-size: 1.5rem; }
.tr-opps--lead .tr-opp--pick > p { font-size: 1.0625rem; }
.tr-pick-bars { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.tr-pick-cap { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.tr-pick-figs { margin-top: 18px; }
.tr-opps--lead .tr-pick-facts { gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: .9375rem; }
.tr-opps--lead .tr-pick-foot { justify-content: flex-start; gap: 12px 16px; margin-top: auto; padding-top: 22px; }
.tr-pick-note { color: var(--muted); font-size: .875rem; }
@media (max-width: 960px) { .tr-opps--lead { grid-template-columns: 1fr; } .tr-opps--lead .tr-opp--pick { grid-row: auto; } }
/* the viewer's picture beside "Full report unlocked", and the account menu in the navbar */
.tr-face { display: block; border-radius: 50%; background: var(--chip); }
.tr-unlock-face { position: relative; flex: none; width: 40px; height: 40px; }
.tr-unlock-face .tr-unlock-tick { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; box-shadow: 0 0 0 2px #fff; }
.tr-nav-end { display: flex; align-items: center; gap: 12px; flex: none; justify-self: end; }
.tr-user { position: relative; flex: none; }
.tr-user-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-2); }
.tr-user-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.tr-face--none { display: grid; place-items: center; width: 36px; height: 36px; background: var(--ink); color: #fff; font-weight: 700; }
.tr-user-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; min-width: 232px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(26, 35, 64, .16); }
.tr-user-menu[hidden] { display: none; }
.tr-user-who { margin-bottom: 6px; padding: 8px 12px 10px; border-bottom: 1px solid var(--line-soft); }
.tr-user-who strong { display: block; color: var(--ink); }
.tr-user-who span { color: var(--muted); font-size: .8125rem; }
.tr-user-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.tr-user-menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .tr-user-menu a:hover { background: var(--wash); } }
.tr-user-menu .tr-user-out { margin-top: 6px; border-top: 1px solid var(--line-soft); border-radius: 0 0 10px 10px; color: var(--body); }
/* sortable tables: click a heading (A-Z, then Z-A); "Reset" fades in at the card's top right */
.tr-table[data-tr-sort] thead th { cursor: pointer; user-select: none; -webkit-user-select: none; }
.tr-table[data-tr-sort] thead th:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; border-radius: 8px; }
.tr-table[data-tr-sort] thead th[aria-sort] { color: var(--ink); }
.tr-sort-ind { display: inline-block; margin-left: 4px; vertical-align: -1px; opacity: 0; transition: opacity .15s, transform .15s; }
.tr-table[data-tr-sort] thead th:focus-visible .tr-sort-ind { opacity: .45; }
@media (hover: hover) and (pointer: fine) { .tr-table[data-tr-sort] thead th:hover .tr-sort-ind { opacity: .45; } }
.tr-table[data-tr-sort] thead th[aria-sort] .tr-sort-ind { opacity: 1; }
.tr-table[data-tr-sort] thead th[aria-sort="ascending"] .tr-sort-ind { transform: rotate(180deg); }
.tr-sort-host { position: relative; }
.tr-sort-reset { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font: 600 .8125rem var(--font); cursor: pointer; opacity: 0; transition: opacity .25s; }
.tr-sort-reset[hidden] { display: none; }
.tr-sort-reset.is-on { opacity: 1; }
.tr-sort-reset:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tr-card-head > .tr-sort-reset { position: static; flex: none; margin-left: 12px; }
/* phones: the account picture stays on the navbar's first line, beside the button */
@media (max-width: 860px) { .tr-nav-end { gap: 8px; } .tr-user-btn { width: 34px; height: 34px; } .tr-user-btn .tr-face { width: 30px; height: 30px; } }
@media (max-width: 480px) { .tr-nav-side { flex: 1 1 0; min-width: 0; gap: 10px; } .tr-nav:has(.tr-user) .tr-logo img { width: 112px; height: auto; } }

/* ---------- 2 Dec 2026, third list of remarks (Victor) ---------- */
/* hero legend: each part is a link to its section */
a.tr-part { color: inherit; text-decoration: none; cursor: pointer; }
/* "Check another site" on one line: icon, heading, checks, then one pill holding the field and the button */
.tr-another-callout { align-items: center; }
.tr-another-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tr-another-h { flex: none; color: var(--ink); font-weight: 700; }
.tr-another-form .tr-another-note { flex: 0 1 auto; margin: 0; }   /* may shrink, so a long line (the allowance used up) wraps on a phone instead of widening the page */
.tr-pill { display: flex; flex: 1 1 320px; align-items: center; gap: 6px; min-width: 0; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .15s; }
.tr-pill input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 8px 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 1rem var(--font); outline: none; }
.tr-pill input::placeholder { color: var(--muted); opacity: .8; }
.tr-pill:focus-within { box-shadow: inset 0 0 0 1.5px var(--data), 0 0 0 4px var(--data-soft); }
/* 2 Dec 2026 (Victor's screenshot): the page's general focus rule (.tr-page :focus-visible: dark outline, 8px corners) is
   stronger than the field's own "outline: none", so a second, squarer outline was drawn inside the pill. The pill is the
   focus ring; the field inside it draws none. Same for the link field in the Share dialog. */
.tr-pill input:focus, .tr-pill input:focus-visible { outline: none; border-radius: 999px; }
.tr-copy .tr-copy-input:focus, .tr-copy .tr-copy-input:focus-visible { outline: none; border-radius: 0; }
.tr-pill input[aria-invalid="true"] { color: var(--low-ink); }
.tr-pill .tr-btn { flex: none; min-height: 40px; }
.tr-another-form .tr-field-error { flex-basis: 100%; margin: 0; }
@media (max-width: 860px) { .tr-pill { flex-basis: 100%; } }
/* "All figures" at the far right of a section's "Data from" row; its table opens under that row */
.tr-more-btn2 { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 2px; border: 0; background: none; color: var(--tone-ink); font: 600 .9375rem var(--font); cursor: pointer; }
.tr-more-btn2:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.tr-more-btn2 .tr-ico { transition: transform .2s var(--ease); }
.tr-more-btn2[aria-expanded="true"] .tr-ico { transform: rotate(180deg); }
.tr-more-body { margin-top: 12px; }
.tr-more-body[hidden] { display: none; }
.tr-more-body .tr-table-wrap { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.tr-more-body .tr-fine { margin-top: 10px; }
/* the fix guide: a text line (3 Dec 2026: the foot of the Site health fixes card; it was a callout under the card, then
   a line beside the Mobile / Desktop switch), and a link at the end of the plan's speed step */
/* 3 Dec 2026: a tag that is a link (the Wikipedia articles that cite the site), as the site pills */
.tr-tag--link { max-width: 100%; text-decoration: none; transition: background-color .15s; }
@media (hover: hover) and (pointer: fine) { a.tr-tag--link:hover { background: var(--line); color: var(--ink); } }
a.tr-tag--link:focus-visible { outline: 2px solid var(--data-ink); outline-offset: 2px; }
.tr-card .tr-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tr-go--dl { gap: 6px; }
.tr-go--dl .tr-ico { color: currentColor; }
@media (hover: hover) and (pointer: fine) { .tr-go--dl:hover .tr-ico { transform: none; } }   /* the arrow steps right on hover; a download icon stays put */
.tr-steps .tr-step-dl { margin-top: 10px; margin-left: -1.2rem; list-style: none; }
/* a table that opens under the sources line has no card corner: its Reset sits above it, at the right */
.tr-more-body > .tr-sort-reset { position: static; display: flex; width: max-content; margin: 0 0 8px auto; }
.tr-more-body > .tr-sort-reset[hidden] { display: none; }

/* 2 Dec 2026 (evening, Victor): the badge section is two cards, not one. The editor (number, style, colour and the
   "Auto update scores" switch) and the preview (badge, copy, download, the verification page), with the "As seen on"
   pointer as a third card under the preview. The section itself is a plain wrapper now, like the report's other sections. */
.tr-badgefeat--split { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.tr-badgefeat--split .tr-badgefeat-body { gap: 16px; align-items: stretch; }
.tr-badgefeat-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tr-badgefeat--split .tr-badgefeat-side { flex: 1 1 auto; min-height: 0; }
.tr-badgefeat--split .tr-tbadge { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 18px; margin-top: 0; padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid var(--line); }
.tr-badgefeat--split .tr-tbadge h3 { margin: 0; }
.tr-badgefeat--split .tr-tbadge p { margin: 4px 0 8px; }
@media (max-width: 640px) { .tr-badgefeat--split .tr-tbadge { grid-template-columns: 1fr; } }

/* ---------- Badge editor, 2 Dec 2026 (evening, Victor): the number as a dropdown with a description (the look of the
   trust badge's dropdown on the customer report), "Style and color side by side with the labels above", the new
   choices as fields of the same kind, "Copy embed code" as a split button with Download image in its menu, and the
   page the badge is live on under "Auto update scores". ---------- */
.tr-bf { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.tr-bf--wide { align-items: stretch; }
.tr-bf-label { color: var(--ink); font-size: .9375rem; font-weight: 600; }
.tr-bf .tr-seg { margin: 0; }
.tr-bgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 18px; }
.tr-bgrid--look { grid-template-columns: max-content minmax(0, 1fr); gap: 16px 28px; }
.tr-badgefeat-pick > .tr-bstyles { margin-top: 16px; }
/* 3 Dec 2026 (Victor: "work out the best layout for the options in the left card"): number, style tiles, then the small
   switches two to a row on the tiles' three columns (the second one spans two), so every label starts on one of two lines */
.tr-bf--styles { margin-top: 16px; }
.tr-bgrid--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 12px; }   /* thirds and halves on the tiles' columns */
.tr-bgrid--3 > .tr-bf { grid-column: span 2; }
.tr-bgrid--3 > .tr-bf--half { grid-column: span 3; }
.tr-bgrid--3 > .tr-bf--full { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .tr-bgrid, .tr-bgrid--look, .tr-bgrid--3 { grid-template-columns: 1fr; }
  .tr-bgrid--3 > .tr-bf, .tr-bgrid--3 > .tr-bf--half, .tr-bgrid--3 > .tr-bf--full { grid-column: auto; }
  /* the eight colours stay on one line (the "+" used to drop to a line of its own) */
  .tr-bgrid--3 .tr-bcolors { flex-wrap: nowrap; justify-content: space-between; gap: 0; width: 100%; max-width: 344px; }
  .tr-bgrid--3 .tr-bcolor { flex: 0 1 40px; min-width: 0; }
}
.tr-dd { position: relative; }
.tr-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: 600 .9375rem/1.3 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tr-dd-btn[aria-expanded="true"], .tr-dd-btn:focus-visible { border-color: var(--data); box-shadow: inset 0 0 0 1px var(--data); outline: none; }
.tr-dd-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-dd-btn .tr-ico { flex: none; color: var(--muted); transition: transform .18s var(--ease); }
.tr-dd-btn[aria-expanded="true"] .tr-ico { transform: rotate(180deg); }
.tr-dd-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 8; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(26, 35, 64, .14); transition: opacity .18s var(--ease), translate .18s var(--ease); }
.tr-dd-pop[hidden], .tr-split-menu[hidden] { display: none; }
@starting-style { .tr-dd-pop, .tr-split-menu { opacity: 0; translate: 0 -4px; } }
.tr-dd-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 .9375rem/1.3 var(--font); text-align: left; cursor: pointer; }
.tr-dd-name { flex: none; }
.tr-dd-opt[aria-selected="true"] .tr-dd-name { font-weight: 700; }
.tr-dd-sub { flex: 1 1 auto; min-width: 0; color: var(--muted); font-size: .875rem; text-align: right; }
.tr-dd-check { display: inline-flex; flex: none; width: 16px; color: var(--data); visibility: hidden; }
.tr-dd-opt[aria-selected="true"] .tr-dd-check { visibility: visible; }
.tr-dd-opt[aria-disabled="true"] { cursor: not-allowed; }
.tr-dd-opt[aria-disabled="true"] .tr-dd-name { color: var(--muted); }
.tr-dd-opt:focus-visible, .tr-split-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .tr-dd-btn:hover { border-color: var(--muted); } .tr-dd-opt:not([aria-disabled="true"]):hover, .tr-split-item:hover { background: var(--wash); } }
@media (max-width: 480px) { .tr-dd-opt { flex-wrap: wrap; gap: 2px 12px; } .tr-dd-sub { order: 3; flex-basis: 100%; text-align: left; } .tr-dd-check { margin-left: auto; } }
.tr-split { position: relative; display: inline-flex; }
.tr-split .tr-split-main { padding-right: 14px; border-radius: 999px 0 0 999px; }
.tr-split .tr-split-more { min-width: 44px; padding: 0 14px 0 10px; border-radius: 0 999px 999px 0; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .28); }
.tr-split-more[aria-expanded="true"] .tr-ico { transform: rotate(180deg); }
.tr-split-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 8; width: max-content; min-width: 248px; max-width: min(340px, calc(100vw - 48px)); padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(26, 35, 64, .16); transition: opacity .18s var(--ease), translate .18s var(--ease); }
.tr-split-item { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 500 .9375rem/1.35 var(--font); text-align: left; cursor: pointer; }
.tr-split-item .tr-ico { flex: none; margin-top: 2px; color: var(--body); }
.tr-split-lab, .tr-split-sub { display: block; }
.tr-split-sub { color: var(--muted); font-size: .8125rem; }
/* 3 Dec 2026: the "Auto update scores" switch and its page field are gone (the badge updates itself); .tr-bauto is now the one line that says so, at the foot of the editor card */
.tr-bauto { margin-top: auto; padding-top: 18px; }
.tr-bauto::before { content: ""; display: block; margin-bottom: 18px; border-top: 1px solid var(--line-soft); }
.tr-badgefeat-pick > .tr-bgrid + .tr-bauto { margin-top: 20px; }
.tr-bauto b { color: var(--ink); font-weight: 600; }
/* 3 Dec 2026 (Victor: "Auto updates" with an icon to the left): the icon sits on the first line of the text */
.tr-bauto-in { display: flex; align-items: flex-start; gap: 8px; }
.tr-bauto-in .tr-ico { flex: none; margin-top: .2em; color: var(--ink); }
.tr-copy-btn[disabled] { opacity: .6; cursor: default; }
.tr-seg-btn[aria-disabled="true"][aria-pressed="true"] { background: transparent; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .tr-dd-pop, .tr-split-menu, .tr-dd-btn .tr-ico { transition: none; } }

/* The main number of a section's heading in the section's colour, the eyebrow's (Victor, 2 Dec 2026) */
.tr-sec-head :is(h2, h3) .tr-hnum { color: var(--tone-ink); }


/* "Where you stand" + the line under the competitors' selector (Victor, 2 Dec 2026 late: 'add a "Your competitive gaps"
   or "Where you stand" type of card', "a small 1 line description of each selection under the selector"). Night round
   (Victor: "a single bar with a line … that represents the median along with both numbers to the right"): one row per
   figure: its name, the site's bar on the report's own track with the median as a line across it, both numbers, the
   gap in words. On a phone the name and the gap share the first line, the bar and the numbers the second.
   Their spacing is in the spacing block at the end of this file. */
.tr-stand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
.tr-stand-sub { color: var(--body); }
/* every row sits on the card's one set of columns (subgrid), so the bars are one length and the median lines one column */
.tr-stand-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; padding: 6px; margin: 0 -6px; border-radius: 8px; color: var(--ink); font-size: .9375rem; cursor: default; transition: background-color .15s; }
.tr-stand-row:focus-visible { background: var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-stand-row:hover { background: var(--wash); } }
.tr-stand-label { font-weight: 600; }
.tr-stand-meter { position: relative; display: block; }
.tr-stand-mark { position: absolute; top: 50%; left: calc(var(--m) * 100%); width: 3px; height: 22px; margin: -11px 0 0 -1.5px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px #fff; transition: box-shadow .15s; }
.tr-stand-mark[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .tr-stand-mark { transition: left .9s var(--ease), box-shadow .15s, transform .15s var(--ease); } }   /* the line moves with the bar when the switch changes (same .9s) */
/* the hover snaps to the bar's end (the chart's dot) or to the line (it grows); data-at is set by traffic-report.js */
.tr-stand-dot { position: absolute; top: 50%; left: calc(var(--w) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--tone), 0 2px 6px rgba(19, 32, 47, .2); opacity: 0; transform: scale(.6); transition: opacity .12s, transform .16s var(--ease); pointer-events: none; }
.tr-stand-row[data-at="you"] .tr-stand-dot { opacity: 1; transform: scale(1); }
.tr-stand-row[data-at="line"] .tr-stand-mark, .tr-stand-row[data-at="both"] .tr-stand-mark { transform: scaleY(1.28); }
.tr-stand-row:focus-visible .tr-stand-mark { box-shadow: 0 0 0 2px var(--wash); }
@media (hover: hover) and (pointer: fine) { .tr-stand-row:hover .tr-stand-mark { box-shadow: 0 0 0 2px var(--wash); } }
.tr-stand-nums { display: grid; grid-column: span 2; grid-template-columns: subgrid; white-space: nowrap; }
.tr-stand-nums b { font-weight: 700; text-align: right; }
.tr-stand-nums span { color: var(--muted); }
.tr-stand-gap { color: var(--muted); font-size: .8125rem; font-weight: 600; text-align: right; white-space: nowrap; }
.tr-stand-gap--ahead { color: var(--found-ink); }
@supports not (grid-template-columns: subgrid) {
  .tr-stand { display: block; }
  .tr-stand-row { grid-template-columns: 10.5rem minmax(0, 1fr) 10.5rem 8rem; }
  .tr-stand-nums { display: block; grid-column: auto; text-align: right; }
}
@media (max-width: 760px) {
  .tr-stand { grid-template-columns: minmax(0, 1fr) auto; }
  .tr-stand-row { grid-template-areas: "label gap" "meter nums"; }
  .tr-stand-label { grid-area: label; }
  .tr-stand-gap { grid-area: gap; }
  .tr-stand-meter { grid-area: meter; }
  .tr-stand-nums { display: block; grid-area: nums; text-align: right; }
  @supports not (grid-template-columns: subgrid) { .tr-stand-row { grid-template-columns: minmax(0, 1fr) 9.25rem; } }
}
.tr-seg-note { color: var(--muted); font-size: .875rem; line-height: 1.5; }
/* A re-check: what changed in a section, under its intro line (Victor, 2 Dec 2026 night). The report's own tags. */
.tr-sec-progress { align-items: center; }
.tr-sec-progress-l { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.tr-sec-progress .tr-delta--flat { color: var(--muted); font-weight: 600; }

/* ==========================================================================================================================
   SPACING SYSTEM (Victor, 2 Dec 2026 night: "decide on uniform spacing to apply to the entire page ... rather than a
   mashup"). One scale, one value per role, for the report only (.tr-body; the landing and verification pages are not
   touched). This block is the source for the report's layout spacing: the older margin, padding and gap values above
   for the same parts are superseded by it. Change a role here, not there.

   Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96.
   Roles (desktop / phone up to 560px; the two gaps between sections already step down at 860px, where the page
   becomes one column):
     chapter to chapter ............ 96 / 64      (was 104, 92, 72 / 64, 56, 44)
     section inside a chapter ...... 48 / 32      (was 52 / 36)
     heading to first card ......... 24 / 16      (was 20, 22; sub-sections 16, was 14)
     kicker to h2, h2 to lede ...... 8, 8         (sub-sections 4, 4; was 10, 15, 6)
     card to card, grid gaps ....... 16 / 16      (KPI row was 14)
     card inside edge .............. 24 / 16      (was 26, 24, 30, 28 to 32, 20 / 18, 16, 14, 20); KPI tiles 16
     title to content, block to block inside a card ... 16   (was 12, 14, 18, 22, 24, 26)
     a divider inside a card ....... 16 above, 16 below      (was 18+16, 24+16, 22+20, 14+14)
     second heading in a card ...... 24 above                (was 40)
     list and table rows ........... 12 top and bottom       (was 11, 10, 14)
     columns inside a card ......... 24 / 16      (was 28, 36, 40, 20)
   Not touched on purpose: the hero, chart internals, and icon-to-label gaps inside a row, pill or button.
   Lists whose rows carry their own padding pull that padding into the card edge (negative margin), so the text of the
   first and last row sits on the card's inside edge like every other card's content.
   ========================================================================================================================== */
.tr-body {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --gap-chapter: var(--sp-9); --gap-section: var(--sp-7); --gap-head: var(--sp-5); --gap-card: var(--sp-4);
  --pad-card: var(--sp-5); --gap-block: var(--sp-4); --gap-col: var(--sp-5); --pad-row: var(--sp-3);
}
@media (max-width: 860px) { .tr-body { --gap-chapter: var(--sp-8); --gap-section: var(--sp-6); } }   /* one column from here down */
@media (max-width: 560px) { .tr-body { --gap-head: var(--sp-4); --pad-card: var(--sp-4); --gap-col: var(--sp-4); } }

/* 1. Page rhythm */
.tr-body .tr-sec, .tr-body .tr-ovhead, .tr-body .tr-badgefeat, .tr-body .tr-about { margin-top: var(--gap-chapter); }
.tr-body .tr-sec.tr-sec--sub { margin-top: var(--gap-chapter); }   /* 3 Dec 2026 (Victor: "I want uniform spacing between sections"): the same gap above every section; it was --gap-section (half) above Link gap, Trust and Page setup */
.tr-body .tr-sec-head, .tr-body .tr-badgefeat-head { margin-bottom: var(--gap-head); }
.tr-body .tr-sec-head :is(h2, h3), .tr-body .tr-badgefeat-head h2, .tr-body .tr-sec-head .tr-lede, .tr-body .tr-badgefeat-head .tr-lede { margin-top: var(--sp-2); }
.tr-body .tr-sec--sub .tr-sec-head { margin-bottom: var(--gap-card); }
.tr-body .tr-sec--sub .tr-sec-head :is(h2, h3), .tr-body .tr-sec--sub .tr-sec-head .tr-lede { margin-top: var(--sp-1); }
.tr-body .tr-kpis { gap: var(--gap-card); }
.tr-body .tr-badgefeat-head .tr-kicker { display: flex; }   /* an inline box left 5px of line space under it */
.tr-body .tr-about h2 { margin: var(--sp-2) 0 var(--gap-block); }
.tr-body .tr-about-side { gap: var(--gap-block); }
.tr-body .tr-more-body { margin-top: var(--gap-card); }
.tr-body .tr-more-body .tr-fine { margin-top: var(--sp-2); }

/* 2. Card inside edge */
.tr-body .tr-card, .tr-body .tr-callout, .tr-body .tr-about, .tr-body .tr-promo, .tr-body .tr-unlock { padding: var(--pad-card); }
.tr-body .tr-loader-bar { margin-bottom: 0; }   /* 6 Dec 2026: the loader floats over the placeholder (no line of its own) */
.tr-body .tr-sk-card { gap: var(--gap-block); }
.tr-body .tr-sk-card.tr-card--flush { gap: 0; }
.tr-body .tr-unlock.is-open { padding: var(--sp-4) var(--pad-card); }
.tr-body .tr-kpi { padding: var(--sp-4); }
.tr-body .tr-full-card { padding: 0; }
.tr-body .tr-full-ph { padding: var(--pad-card); }
.tr-body .tr-full-t { padding: var(--gap-block) var(--pad-card) 0; }
.tr-body .tr-full-p { padding: var(--sp-2) var(--pad-card) var(--pad-card); }
/* Table cards: the card's edge and the cell's inset add up to the card inside edge, so table text lines up with the rest */
.tr-body .tr-card--flush { padding: calc(var(--pad-card) - var(--pad-row)) calc(var(--pad-card) / 2); }
.tr-body .tr-card--flush .tr-card-title { padding: var(--pad-row) calc(var(--pad-card) / 2) var(--sp-1); }
.tr-body .tr-card--flush .tr-card-aside { padding: var(--pad-row) calc(var(--pad-card) / 2) var(--sp-1); }
.tr-body .tr-card--flush .tr-kw-head { padding: var(--pad-row) calc(var(--pad-card) / 2) var(--sp-1); }   /* the keyword lists' selector row (3 Dec 2026) */
.tr-body .tr-card--flush .tr-kw-head .tr-card-aside { padding: var(--sp-2); }
.tr-body .tr-table th, .tr-body .tr-table td,
.tr-body .tr-card--flush .tr-table th:first-child, .tr-body .tr-card--flush .tr-table td:first-child,
.tr-body .tr-card--flush .tr-table th:last-child, .tr-body .tr-card--flush .tr-table td:last-child { padding-left: calc(var(--pad-card) / 2); padding-right: calc(var(--pad-card) / 2); }
.tr-body .tr-table:not(.tr-table--gap) th, .tr-body .tr-table:not(.tr-table--gap) td { padding-top: var(--pad-row); padding-bottom: var(--pad-row); }
.tr-body .tr-card--flush > .tr-card-foot--unlock { padding: var(--gap-block) calc(var(--pad-card) / 2) var(--pad-row); }
/* Overview card */
.tr-body .tr-sum-col { padding: var(--pad-card) var(--pad-card) calc(var(--pad-card) - var(--pad-row)); }
.tr-body .tr-sum-col h3 { padding-bottom: var(--gap-block); }
.tr-body .tr-sum-next { padding: var(--sp-4) var(--pad-card); }
.tr-body .tr-unlock h2 + .tr-unlock-list, .tr-body .tr-unlock .tr-tick { margin-top: var(--sp-2); }

/* 3. Inside a card: title to content and block to block are one step */
.tr-body .tr-card > h3:not(.tr-card-title) { margin-bottom: var(--gap-block); }
.tr-body .tr-card > .tr-tags:last-child { margin-bottom: 0; }
.tr-body .tr-card > .tr-tags + h3 { margin-top: var(--sp-2); }   /* the tags keep 16 under them: 16 + 8 = 24 */
.tr-body .tr-chart { margin-bottom: 0; }
.tr-body .tr-big, .tr-body .tr-card > .tr-seg, .tr-body .tr-dv-sum, .tr-body .tr-card > .tr-marks, .tr-body .tr-psi-rings { margin-bottom: var(--gap-block); }
.tr-body .tr-spread-legend { margin-top: var(--gap-block); }
.tr-body .tr-rankcard .tr-spread-legend { margin-top: calc(var(--gap-block) - var(--pad-row)); margin-bottom: calc(-1 * var(--pad-row)); }   /* its rows carry the row padding, as "This month" (3 Dec 2026) */
.tr-body .tr-comps { gap: var(--sp-3); }
/* dividers: 16 above the line, 16 below it */
.tr-body .tr-card .tr-stats { column-gap: var(--gap-col); }
.tr-body .tr-card .tr-stats:not(:first-child) { margin-top: var(--gap-block); padding-top: var(--gap-block); }
.tr-body .tr-card .tr-stats--2 { row-gap: var(--gap-block); }
.tr-body .tr-card .tr-stats--2 > .tr-stat:nth-child(n+3) { padding-top: var(--gap-block); }
.tr-body .tr-card .tr-stats + h3 { margin-top: var(--gap-block); padding-top: var(--gap-block); }
.tr-body .tr-card:has(> .tr-card-foot--unlock) > .tr-stats:first-child { margin-bottom: var(--gap-block); }
.tr-body .tr-nonews-go, .tr-body .tr-card > .tr-news + .tr-nonews-go { margin-top: var(--gap-block) !important; padding-top: var(--gap-block); }
/* 3 Dec 2026 (Victor: "the BrandPush CTA must be in the card footer and always at the end of the card"): when the card
   is stretched by a taller card beside it (the Wikipedia card in Media coverage), the line stays at the card's bottom
   edge. The text above it keeps the same gap to the line. */
.tr-body .tr-nonews > div { display: flex; flex-direction: column; }
.tr-body .tr-nonews > div > p:nth-last-child(2) { margin-bottom: var(--gap-block); }
.tr-body .tr-nonews > div > .tr-nonews-go { margin-top: auto !important; }
.tr-body .tr-card > .tr-news { flex: 1 0 auto; }
.tr-body .tr-psi-cwv { padding-top: var(--gap-block); }
.tr-body .tr-psi-card h3, .tr-body .tr-psi-fixes h3 { margin-bottom: var(--sp-1); }
.tr-body .tr-checks + .tr-tags--wiki { margin-top: var(--sp-3); }   /* the cited articles under the two Wikipedia rows (3 Dec 2026) */

/* 4. Rows: 12 top and bottom; padded lists sit on the card's inside edge */
.tr-body .tr-kv, .tr-body .tr-check, .tr-body .tr-fixes li, .tr-body .tr-stack .tr-card .tr-move, .tr-body .tr-gr { padding-top: var(--pad-row); padding-bottom: var(--pad-row); }
.tr-body .tr-gres { gap: var(--sp-2); }
.tr-body .tr-geos { gap: var(--sp-2); }
.tr-body .tr-card > .tr-kvs, .tr-body .tr-card > .tr-checks { margin-top: calc(-1 * var(--pad-row)); margin-bottom: calc(-1 * var(--pad-row)); }
.tr-body .tr-card > .tr-gres { margin-top: var(--gap-block); }   /* its first row can be the highlighted one, a visible block */
.tr-body .tr-gmore > .tr-gres { margin-top: var(--sp-2); }
.tr-body .tr-mvbar { margin-bottom: calc(var(--gap-block) - var(--pad-row)); }
.tr-body .tr-stack .tr-card .tr-moves { margin-bottom: calc(-1 * var(--pad-row)); }
.tr-body .tr-card > .tr-geos { margin-top: calc(-1 * var(--sp-2)); margin-bottom: calc(-1 * var(--sp-2)); }
.tr-body .tr-card > .tr-gauges { margin-top: calc(-1 * var(--gap-block)); margin-bottom: calc(-1 * var(--gap-block)); }
.tr-body .tr-card .tr-gauges, .tr-body .tr-checks--2 { column-gap: var(--gap-col); }
.tr-body .tr-card > .tr-checks + .tr-card-cta, .tr-body .tr-card > .tr-checks + .tr-card-foot { margin-top: calc(var(--gap-block) + var(--pad-row)); }

/* 5. Action plan cards */
.tr-body .tr-opps .tr-opp > p { padding-bottom: var(--gap-block); }
.tr-body .tr-opps .tr-steps { padding-top: var(--gap-block) !important; }
.tr-body .tr-opps .tr-steps li { margin: 0; }
.tr-body .tr-opps .tr-steps li + li { margin-top: var(--sp-2); }
.tr-body .tr-opps--lead .tr-pick-facts { margin-top: var(--gap-block); padding-top: var(--gap-block); }
.tr-body .tr-opps--lead .tr-pick-foot { padding-top: var(--sp-5); }
.tr-body .tr-wins-card .tr-wins { gap: var(--sp-2) var(--gap-col); }
.tr-body .tr-how { gap: var(--sp-4) var(--gap-col); }

/* 6. Badge cards */
.tr-body .tr-bgrid, .tr-body .tr-bgrid--look { gap: var(--gap-block) var(--gap-col); margin-top: var(--gap-block); }
.tr-body .tr-bstyles { gap: var(--sp-3); }
.tr-body .tr-bf--styles { margin-top: var(--gap-block); }
.tr-body .tr-bgrid--3 { column-gap: var(--sp-3); }   /* the tiles' columns (3 Dec 2026) */
.tr-body .tr-bauto { padding-top: var(--gap-block); }
.tr-body .tr-badgefeat-pick > .tr-bgrid + .tr-bauto { margin-top: var(--gap-block); }
.tr-body .tr-badgefeat-side { gap: var(--gap-block); }
.tr-body .tr-badgefeat-side > .tr-bpreview { margin-bottom: 0; }
.tr-body .tr-badgefeat-side > .tr-fine { margin-top: 0; }
.tr-body .tr-badgefeat--split .tr-tbadge { gap: var(--gap-block); }
.tr-body .tr-opps .tr-opp:first-child { padding-top: var(--pad-card); }
.tr-body .tr-opps .tr-opp:last-child { padding-bottom: var(--pad-card); }

/* 7. Parts the sample report does not show (measured on the two approved real test reports) */
.tr-body .tr-news { gap: var(--gap-col); }
@media (min-width: 861px) { .tr-body .tr-news-side { padding-left: var(--gap-col); } }
.tr-body .tr-articles li:not(.tr-art--unlock) { padding-top: var(--pad-row); padding-bottom: var(--pad-row); }
.tr-body .tr-couldnt { padding: var(--sp-4) var(--pad-card); }
.tr-body .tr-unlock:not(.is-open) { gap: var(--gap-block) var(--sp-6); }

/* 8. "Where you stand" and the competitors' selector (2 Dec 2026 late; rows since the night round). Title to its one
      line as h2 to lede; rows 8 apart (their 6 + 6 hover padding makes the bars 20 apart), the row's parts a column gap
      apart (12 on a phone, 4 between its two lines); the closing line behind a divider (16 above, 16 below). */
.tr-body .tr-stand-card { margin-bottom: var(--gap-card); }
.tr-body .tr-card.tr-stand-card > h3:not(.tr-card-title), .tr-body .tr-card.tr-progress > h3:not(.tr-card-title) { margin-bottom: var(--gap-block); }   /* 5 Dec 2026: the line under it is the card's footer now; was 4 */
.tr-body .tr-stand-head { gap: var(--sp-2) var(--gap-block); margin-bottom: var(--gap-block); }   /* the title with the Median / Closest competitor switch (3 Dec 2026): 8 between the two when they stack; 16 to the rows (5 Dec 2026; was 8 to the line under it) */
.tr-body .tr-stand-head > h3, .tr-body .tr-stand-head > .tr-seg { margin: 0; }
.tr-body .tr-stand-sub { margin: 0 0 var(--gap-block); }
.tr-body .tr-progress .tr-stand-sub { margin-bottom: 0; }   /* the figures bring their own divider: 16 above, 16 below */
.tr-body .tr-progress .tr-stats { row-gap: var(--gap-block); }
.tr-body .tr-stand { gap: var(--sp-2) var(--gap-col); }
.tr-body .tr-stand-row { row-gap: 0; }
@supports not (grid-template-columns: subgrid) { .tr-body .tr-stand-row + .tr-stand-row { margin-top: var(--sp-2); } .tr-body .tr-stand-row { column-gap: var(--gap-block); } }   /* without subgrid .tr-stand is no grid */
.tr-body .tr-stand-nums { column-gap: var(--sp-2); }
@media (max-width: 760px) { .tr-body .tr-stand { column-gap: var(--sp-3); } .tr-body .tr-stand-row { row-gap: var(--sp-1); } }
.tr-body .tr-stand-foot { margin: var(--gap-block) 0 0; padding-top: var(--gap-block); border-top: 1px solid var(--line-soft); }
.tr-body .tr-card[data-comp] > .tr-seg { margin-bottom: var(--sp-2); }
.tr-body .tr-seg-note { margin: 0 0 var(--gap-block); }

/* 9. A re-check's progress line in a section head: 12 under the intro line, tags 8 apart. */
.tr-body .tr-sec-head .tr-sec-progress { gap: var(--sp-2); margin: var(--sp-3) 0 0; }

/* 10. Groups of one card (Trust and AI-readiness, 3 Dec 2026): small-headed lists under each other, a hairline and
   24 px between two groups. Inside a group the same steps as in a card: 16 under the header, rows flush. */
.tr-body .tr-groups > .tr-group + .tr-group { margin-top: var(--pad-card); padding-top: var(--pad-card); border-top: 1px solid var(--line-soft); }
.tr-body .tr-group > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); margin: 0 0 var(--gap-block); }
.tr-body .tr-group > h3 > small { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.tr-body .tr-group > .tr-checks { margin-top: calc(-1 * var(--pad-row)); margin-bottom: calc(-1 * var(--pad-row)); }
.tr-body .tr-group > .tr-checks + .tr-fine, .tr-body .tr-group > .tr-checks + .tr-tags, .tr-body .tr-group > .tr-checks + p { margin-top: calc(var(--gap-block) + var(--pad-row)); margin-bottom: 0; }
/* Homepage basics: the values are sentences (the title, the H1), so the label keeps its own width and the value wraps */
.tr-body #onpage .tr-check { grid-template-columns: 24px max-content minmax(0, 1fr); }

/* 11. Families (3 Dec 2026 evening, Victor's finish brief, his answer "Follow the new brief"): one section per family
   (.tr-fam), chapter gap above it (96 / 64) like any section, its heading 24 / 16 to the first part. A part (.tr-fpart)
   is the old section's content under a small heading: 24 / 16 between two parts (3 Dec 2026 night, was 32 / 24: the
   brief asks for a compact gap inside a family), 16 from the heading to its cards, and the cards inside keep their 16.
   The score pills of its parts sit in the family's heading row. */
.tr-body .tr-fpart + .tr-fpart { margin-top: var(--sp-5); }
@media (max-width: 560px) { .tr-body .tr-fpart + .tr-fpart { margin-top: var(--sp-4); } }
.tr-body .tr-fpart-head { margin-bottom: var(--gap-block); }
.tr-fpart-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); }
.tr-fpart-head h3 { margin: 0; color: var(--ink); font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.tr-fpart-sum { margin: 0; color: var(--body); font-size: 1rem; font-weight: 500; }
.tr-fpart-sum .tr-hnum, .tr-sec-head .tr-lede .tr-hnum { color: var(--tone-ink); font-weight: 700; }
.tr-body .tr-fpart-note { max-width: 52rem; margin: var(--sp-1) 0 0; color: var(--muted); font-size: .9375rem; }
.tr-body .tr-fpart-head .tr-sec-progress { gap: var(--sp-2); margin: var(--sp-3) 0 0; }
.tr-fam-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sp-2); }
@media (prefers-reduced-motion: no-preference) { .tr-fpart.is-arrived > .tr-sec-body { animation: tr-arrive .5s var(--ease) both; } }

/* 13. The bottom of the report (3 Dec 2026 evening, finish brief, Victor: "Yes, tighten the bottom"): from the action
   plan's "Written with" row (or the full-report section before the email) to the closed About card 32 / 24, About to
   "Check another site" 16, the form to the footer 32 / 24. Set on About, the form and the report's main only, so
   nothing inside the action plan changes. */
.tr-body .tr-about--fold { margin-top: var(--sp-6); }
.tr-body .tr-about--fold + .tr-another-callout { margin-top: var(--sp-4); margin-bottom: 0; }   /* a callout's own 16 below would add to the 32 */
.tr-main[data-tr-root] { padding-bottom: 32px; }
@media (max-width: 560px) { .tr-body .tr-about--fold { margin-top: var(--sp-5); } .tr-main[data-tr-root] { padding-bottom: 24px; } }

/* 12. "About this report" (same evening): one closed disclosure (native details) in the old block's card. The summary
   row is the card's only content while closed; open, the source list sits under a hairline. The 96 / 64 above it stay,
   so the gap under the action plan does not change. */
.tr-body .tr-about--fold { padding: 0; }
.tr-about-sum { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--pad-card); border-radius: inherit; cursor: pointer; list-style: none; }
.tr-about-sum::-webkit-details-marker { display: none; }
.tr-about-sumt { display: grid; gap: var(--sp-1); min-width: 0; }
.tr-body .tr-about--fold .tr-about-sum h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.tr-about-note { color: var(--muted); font-size: .9375rem; }
.tr-about-chev { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wash); color: var(--ink); }
.tr-about-chev .tr-ico { transition: transform .2s var(--ease); }
.tr-about--fold[open] .tr-about-chev .tr-ico { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .tr-about-sum:hover .tr-about-chev { background: var(--line-soft); } }
@media (prefers-reduced-motion: reduce) { .tr-about-chev .tr-ico { transition: none; } }
.tr-body .tr-about--fold > .tr-about-grid { padding: var(--pad-card); border-top: 1px solid var(--line-soft); }
.tr-body .tr-about-h { margin: 0 0 var(--gap-block); color: var(--ink); font-size: 1.125rem; font-weight: 700; }

/* 14. Victor, 3 Dec 2026 ~22:10 UTC (three remarks, newer than the finish brief):
   a) Trend pill in a chart card's corner (Domain Authority over time, Referring domains, Monthly visits, Google traffic,
      Loading speed for real visitors): Improving / Declining / Steady in the status colours the report already uses
      (found / low / neutral), an arrow so the colour is never the only cue; the figures are in its tooltip.
   b) The merged Trust card as two columns of groups: Trust signals | Email and domain security + Homepage basics;
      one column of groups on phones (up to 560 px). Groups under each other keep the hairline and 24 between them.
   c) "About this report", closed: the sources' marks in one row under the summary line (decorative; the summary's
      name is still "About this report, Data sources, scoring methodology and limitations"); gone once it is open. */
.tr-trend { display: inline-flex; flex: none; align-items: center; gap: var(--sp-1); padding: 2px 10px 2px 8px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.tr-trend--up { background: var(--found-soft); color: var(--found-ink); }
.tr-trend--down { background: var(--low-soft); color: var(--low-ink); }
.tr-trend--flat { background: var(--line-soft); color: var(--muted); }
.tr-chart-cap:has(> .tr-trend) { align-items: center; }
.tr-groups--cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--sp-7); align-items: start; }
.tr-body .tr-groups-col > .tr-group + .tr-group { margin-top: var(--pad-card); padding-top: var(--pad-card); border-top: 1px solid var(--line-soft); }
@media (max-width: 560px) {
  .tr-groups--cols { grid-template-columns: minmax(0, 1fr); }
  .tr-body .tr-groups--cols > .tr-groups-col + .tr-groups-col { margin-top: var(--pad-card); padding-top: var(--pad-card); border-top: 1px solid var(--line-soft); }
}
.tr-about-marks { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-2); }
.tr-about-marks .tr-logomark { width: 24px; height: 24px; }
.tr-about--fold[open] .tr-about-marks { display: none; }

/* 15. Domain history card (4 Dec 2026): the year strip. One cell per year from the first snapshot to the check's year;
   a filled cell = the Internet Archive has a snapshot from that year. The card itself is a .tr-card with .tr-stats. */
.tr-years { display: flex; gap: 2px; margin-top: var(--gap-block); }
/* 4 Dec 2026 (night): a year is a cell of its own; one with snapshots is a link to that year on archive.org. The link
   is taller than the bar it shows (::after), so it can be hit; it grows a little under the pointer or the keyboard. */
.tr-year { position: relative; flex: 1 1 0; min-width: 2px; height: 10px; border-radius: 2px; background: var(--line-soft); }
.tr-year.is-on { background: var(--tone); }
.tr-year::after { content: ""; position: absolute; inset: -9px 0; }
a.tr-year { cursor: pointer; }
a.tr-year:hover, a.tr-year:focus-visible { background: var(--tone-ink); transform: scaleY(1.6); }
a.tr-year:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { a.tr-year { transition: transform .16s var(--ease), background-color .16s var(--ease); } }
/* a tooltip that shows a stored screenshot (data-tip-img): the picture first, then the year and what a click does */
.tr-tip-img { display: block; width: 224px; max-width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0 0 10px; border-radius: 8px; background: var(--line-soft); object-fit: cover; object-position: top; }
/* with no room above its point (the bar near the top of the screen) the picture tooltip opens under it (tipAt) */
.tr-tip.is-under { transform: translate(-50%, 2px); }
.tr-tip.is-under.is-on { transform: translate(-50%, 10px); }
.tr-tip.is-under::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
.tr-years-ends { display: flex; justify-content: space-between; margin: var(--sp-1) 0 0; color: var(--muted); font-size: .8125rem; }
.tr-body .tr-domhist .tr-fine { margin-top: var(--sp-2); }

/* 16. Lists as tabs of one card (4 Dec 2026, Victor: the Trust card's three lists; Strongest links | Link gap). The
   keywords card's parts (the card's data-kw-on says which list shows); these are the hide rules for the new lists. */
[data-kw-on="sig"] [data-kw]:not([data-kw="sig"]), [data-kw-on="mail"] [data-kw]:not([data-kw="mail"]), [data-kw-on="page"] [data-kw]:not([data-kw="page"]),
[data-kw-on="strong"] [data-kw]:not([data-kw="strong"]), [data-kw-on="gap"] [data-kw]:not([data-kw="gap"]) { display: none !important; }
.tr-body .tr-tab-head { justify-content: flex-start; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--gap-block); }
.tr-body .tr-tab-head > .tr-seg { flex: none; max-width: 100%; margin: 0; }
.tr-body .tr-tab-head > .tr-card-aside { display: block; flex: none; padding: 0; white-space: nowrap; }   /* a short label ("2 to fix"): one line, beside the selector or under it */
.tr-body .tr-pane > .tr-checks { margin-top: calc(-1 * var(--pad-row)); margin-bottom: calc(-1 * var(--pad-row)); }
.tr-body .tr-pane > .tr-checks + .tr-fine, .tr-body .tr-pane > .tr-checks + .tr-tags, .tr-body .tr-pane > .tr-checks + p { margin-top: calc(var(--gap-block) + var(--pad-row)); margin-bottom: 0; }
.tr-body .tr-tab-solo { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); }
.tr-body .tr-tab-solo > small { color: var(--muted); font-size: .8125rem; font-weight: 500; }
/* 17. Domain history: the stored screenshots as picture tiles (4 Dec 2026, Victor: "can we simply show the images hosted
   from archive.org?"), one row of three at every width. The picture is cropped to the top of the stored page; the camera
   mark sits under it: it shows while the picture loads and stays when it does not arrive (.is-off, the page script). */
.tr-body .tr-hist-shots { margin-top: var(--gap-block); }
.tr-body .tr-domhist .tr-hist-shots > .tr-fine { margin: 0 0 var(--sp-2); }
.tr-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.tr-shot { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .15s, border-color .15s; }
.tr-shot-pic { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); background: var(--tone-soft); }
.tr-shot-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--tone-ink); }
.tr-shot-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tr-shot.is-off .tr-shot-img { display: none; }
/* our own small copy is still being made (4 Dec 2026, night): the box shimmers like the report's other waiting parts */
.tr-shot-pic.is-wait { background: linear-gradient(90deg, var(--line-soft) 25%, var(--wash) 37%, var(--line-soft) 63%); background-size: 400% 100%; }
@media (prefers-reduced-motion: no-preference) { .tr-shot-pic.is-wait { animation: tr-shimmer 1.4s linear infinite; } }
.tr-shot-cap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-1); min-height: 40px; padding: var(--sp-1) var(--sp-2); }
.tr-shot-d { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.tr-shot .tr-out-ico { flex: none; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .tr-shot:hover { border-color: var(--tone); background: var(--tone-soft); } }
.tr-shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 560px) { .tr-shot { font-size: .8125rem; } .tr-shot-cap { justify-content: center; } .tr-shot .tr-out-ico { display: none; } }
.tr-body .tr-domhist .tr-hist-shots + .tr-fine { margin-top: var(--sp-3); }
/* the card's footer: the link to archive.org with its mark (Victor, 4 Dec 2026), on the card's bottom edge */
.tr-body .tr-hist-foot { align-items: center; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }
.tr-body .tr-hist-foot .tr-logomark { width: 20px; height: 20px; }
.tr-body .tr-domhist:has(> .tr-hist-foot) > :nth-last-child(2) { margin-bottom: var(--sp-4); }
.tr-pane-h[hidden] { display: none; }   /* a list's name, for a page without JavaScript only (the <noscript> rule shows it) */
/* 18. Action plan (4 Dec 2026): Quick wins opens it, the summary line closes it (they swapped places). */
.tr-body .tr-wins-card--top { margin-top: 0; margin-bottom: var(--sp-4); }
.tr-body .tr-callout--end { margin: var(--sp-4) 0 0; }
/* 19. A part without a heading (4 Dec 2026: Media coverage): its cards follow the part above at a card's distance. */
.tr-body .tr-fpart + .tr-fpart[data-bare] { margin-top: var(--sp-4); }
.tr-body .tr-fpart[data-bare] > .tr-fpart-head { margin-bottom: var(--sp-4); }
/* 20. A part's heading inside one of its cards (4 Dec 2026, night; Victor: 'Move the "Backlinks and referring domains"
   header into the first card', the same for Google brand presence, Speed and Core Web Vitals, and Trust and
   AI-readiness "above the switcher"; a Keywords and a Backlinks header above those cards' selectors). The part's
   heading in its own size, its number-led line beside it; in a card without side padding it takes the card's inset. */
.tr-part-head, .tr-sub-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); }   /* tr-sub-head (4 Dec 2026, late): a card's own heading drawn like a part's (Social sharing preview) */
.tr-body .tr-card :is(.tr-part-head, .tr-sub-head) { margin: 0 0 var(--gap-block); }
.tr-body .tr-card :is(.tr-part-head, .tr-sub-head) h3 { margin: 0; color: var(--ink); font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.tr-body .tr-card--flush > .tr-part-head { margin: 0; padding: var(--pad-row) calc(var(--pad-card) / 2) var(--sp-1); }
/* a re-check's "what changed" line alone above the cards (the heading sits in a card, or the part has none) */
.tr-body .tr-fpart-head > .tr-sec-progress:first-child { margin-top: 0; }
/* 21. A card's footer line (4 Dec 2026, late: Victor, the news-links line, the PageSpeed link and the fix guide "into
   the cards footer"): one look for all of them and for the archive.org footer: a rule across the card's bottom edge, a
   20px mark, the line. ta_foot_line(). */
.tr-body .tr-foot-line { align-items: flex-start; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }
.tr-body .tr-foot-line > .tr-logomark, .tr-body .tr-foot-line > .tr-bpmark { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.tr-body .tr-foot-line > .tr-ico { flex: none; margin-top: 2px; color: var(--muted); }
.tr-body .tr-fl-in { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); min-width: 0; }
.tr-body .tr-fl-in > span { min-width: 0; }
.tr-body .tr-foot-line .tr-go { font-weight: 700; }
.tr-body .tr-foot-line .tr-out { font-weight: 600; }
/* the arrow of an outside link never drops to a line of its own: it is taken out of the flow (it stays where the text
   ends) and the link keeps room for it */
.tr-body .tr-foot-line .tr-out { padding-right: 18px; }
.tr-body .tr-foot-line .tr-out .tr-out-ico { position: absolute; }
.tr-body .tr-card:has(> .tr-foot-line) > :nth-last-child(2) { margin-bottom: var(--sp-4); }
.tr-body .tr-card--flush > .tr-foot-line { margin: 0; padding: var(--pad-row) calc(var(--pad-card) / 2); }
.tr-body .tr-card--flush:has(> .tr-foot-line) > :nth-last-child(2) { margin-bottom: 0; }
/* 22. The site as it loaded in this check, left of the overview's two lists (4 Dec 2026, late). The stored-screenshot
   tile (.tr-shot) with the site's name as its caption. No picture: the card is as before (no .tr-sum-cols--shot). */
.tr-body .tr-sum-cols--shot { grid-template-columns: minmax(0, 0.62fr) repeat(2, minmax(0, 1fr)); }
.tr-body .tr-sum-shot { align-self: start; min-width: 0; padding: var(--pad-card) 0 var(--pad-card) var(--pad-card); }
.tr-body .tr-sum-shot .tr-shot-d { display: inline-flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.tr-body .tr-sum-shot .tr-shot-d > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-body .tr-sum-shot .tr-fav { flex: none; }
@media (max-width: 1040px) {   /* three columns no longer fit: the picture is a band across the card's top */
  .tr-body .tr-sum-cols--shot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-body .tr-sum-shot { grid-column: 1 / -1; padding: var(--pad-card) var(--pad-card) 0; }
  .tr-body .tr-sum-shot .tr-shot-pic { aspect-ratio: 5 / 2; }
  .tr-body .tr-sum-shot .tr-shot { max-width: 480px; }   /* the picture's own width: never drawn larger than it is */
}
@media (max-width: 760px) { .tr-body .tr-sum-cols--shot { grid-template-columns: 1fr; } }
/* 23. Social sharing preview (4 Dec 2026, late): the share card as four platforms draw it, beside the tags it is built
   from. The selector is the keywords card's (data-kw-wrap); these are its hide rules. The sketches use the page's own
   tokens; two tints (.tr-sp--li, .tr-sp--wa) are the platforms' own so each is recognised at a glance. */
[data-kw-on="fb"] [data-kw]:not([data-kw="fb"]), [data-kw-on="xs"] [data-kw]:not([data-kw="xs"]),
[data-kw-on="li"] [data-kw]:not([data-kw="li"]), [data-kw-on="wa"] [data-kw]:not([data-kw="wa"]) { display: none !important; }
.tr-body .tr-sp-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-col) var(--sp-7); align-items: start; }
@media (max-width: 900px) { .tr-body .tr-sp-cols { grid-template-columns: 1fr; } }
.tr-body .tr-sp-prev { min-width: 0; }
.tr-body .tr-sp-prev .tr-seg { margin-bottom: var(--gap-block); }
.tr-seg-btn--ico { display: inline-flex; align-items: center; gap: 6px; }
.tr-seg-btn--ico .tr-ico { flex: none; }
@media (max-width: 560px) { .tr-seg-btn--ico > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .tr-seg-btn--ico { min-width: 44px; justify-content: center; } }
.tr-sp-pane { max-width: 520px; }
.tr-sp { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tr-sp-img { position: relative; display: block; flex: none; overflow: hidden; aspect-ratio: 1.91 / 1; background: var(--wash); }
.tr-sp-img > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tr-sp-noimg { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1); color: var(--muted); font-size: .875rem; font-weight: 500; }
.tr-sp-img.is-none > .tr-sp-noimg { display: flex; }
.tr-sp-img.is-none > img { display: none; }
.tr-sp-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--line-soft); background: var(--wash); }
.tr-sp-host { overflow: hidden; color: var(--muted); font-size: .8125rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.tr-sp-title { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tr-sp-desc { display: -webkit-box; overflow: hidden; color: var(--body); font-size: .875rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.tr-sp--fb .tr-sp-host { text-transform: uppercase; letter-spacing: .03em; }
/* X: the picture with the headline on it, the site's name under it; "summary" (or no picture): a square beside the text */
.tr-sp--x { overflow: visible; border: 0; border-radius: 0; background: none; }
.tr-sp-over { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.tr-sp-over > .tr-sp-title { position: absolute; left: var(--sp-3); bottom: var(--sp-3); display: block; max-width: calc(100% - 2 * var(--sp-3)); padding: 2px var(--sp-2); border-radius: 6px; background: rgba(15, 20, 25, .78); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.tr-sp-from { margin-top: var(--sp-1); color: var(--muted); font-size: .8125rem; }
.tr-sp--row { flex-direction: row; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tr-sp--row > .tr-sp-img { width: 128px; aspect-ratio: 1; }
.tr-sp--row > .tr-sp-meta { flex: 1 1 auto; justify-content: center; border-top: 0; border-left: 1px solid var(--line-soft); background: #fff; }
.tr-sp--row .tr-sp-desc { -webkit-line-clamp: 2; line-clamp: 2; }
.tr-sp--li .tr-sp-meta { background: #edf3f8; }
/* WhatsApp: the card inside a sent-message bubble, the link under it */
.tr-sp--wa { max-width: 400px; padding: var(--sp-1); border: 0; background: #d9fdd3; }
.tr-sp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; }
.tr-sp--wa .tr-sp-meta { border-top: 0; background: #c8f0c2; }
.tr-sp--wa .tr-sp-desc { -webkit-line-clamp: 2; line-clamp: 2; }
.tr-sp-link { padding: var(--sp-2) var(--sp-2) var(--sp-1); color: #0b6bcb; font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.tr-body .tr-sp-tags { min-width: 0; }
.tr-body .tr-sp-tags .tr-fine { margin: var(--gap-block) 0 0; }
/* 24. A card's selector at the top right of the card, beside the card's heading (Victor, 4 Dec 2026, late: the Backlink
   sources, Keyword rankings, Speed and Core Web Vitals, Trust and AI-readiness and Competitor breakdown switchers "to
   the top right of the card, same as the Where you stand switcher"). One row (.tr-card-head.tr-swhead): the heading
   with its number-led line left, the selector right; in a card too narrow for both the selector goes under the heading.
   A list's own line (Easiest wins, Link gap, "2 to fix") follows under the row. */
.tr-body .tr-swhead { gap: var(--sp-2) var(--gap-block); margin-bottom: var(--gap-block); }
.tr-body .tr-card .tr-swhead > :is(h3, .tr-part-head, .tr-sub-head) { flex: 1 1 auto; min-width: 0; margin: 0; }
.tr-body .tr-card .tr-swhead > .tr-part-head { flex-basis: 240px; }
.tr-body .tr-swhead > .tr-seg { flex: none; max-width: 100%; margin: 0; }
.tr-body .tr-card--flush > .tr-swhead { margin: 0; padding: var(--pad-row) calc(var(--pad-card) / 2) var(--sp-1); }
.tr-body .tr-card[data-comp] > .tr-swhead { margin-bottom: var(--gap-block); }   /* 5 Dec 2026: 16 to the bars or the table (was 8 to the line that said what the bars show; that line is the card's footer) */
/* the margins are the label's own: a list without a label (its label is hidden) leaves no room under the row */
.tr-body .tr-tab-asides > .tr-card-aside { display: block; margin: calc(var(--sp-2) - var(--gap-block)) 0 var(--gap-block); padding: 0; }
/* the speed card's footer keeps its distance from the panel above it (the card's last panel may be the hidden one) */
.tr-body .tr-psi-card:has(> .tr-foot-line) > .tr-psi { margin-bottom: var(--sp-4); }
/* 25. Backlinks (Victor, 4 Dec 2026, late: "move the graph above the KPI numbers so that the KPI numbers align the same
   as in the card to its left"): both cards end with their three figures, on the cards' bottom edge. */
.tr-body .tr-linkpair > .tr-card > .tr-stats:last-child:not(:first-child) { margin-top: auto; }
.tr-body .tr-linkpair > .tr-card:has(> .tr-stats:last-child:not(:first-child)) > :nth-last-child(2) { margin-bottom: var(--gap-block); }
.tr-body .tr-was--pad { visibility: hidden; }   /* a re-check: the room of the left card's "was" line, so both rows of numbers stay level */
/* inside a row the three figures share their lines (label, number, "was"), so a label that takes two lines in the
   narrow card moves all three numbers, not one. Without subgrid: as before, each figure on its own. */
@supports (grid-template-rows: subgrid) {
  .tr-body .tr-linkpair > .tr-card > .tr-stats > .tr-stat { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 2px; align-content: start; }
}
/* 26. Card footers and the reset button (5 Dec 2026, Victor: "the reset button can appear to the left of the switchers to
   prevent shifting elements"; the text under a card's heading "can instead appear in the cards footer ... It can also
   include a relevant icon to the left"; the Wikipedia and estimates lines "should also be in the cards footer").
   A footer (.tr-feet, ta_card_feet) is the card's last child: 16 above its rule, the rule, 16 to its first line, its
   lines 8 apart. The rule is the footer's own (a 1px band of its background), so a line that hides with its list never
   takes the rule with it. In a table card the rule sits on the table's edge and the lines take the cells' inset. */
.tr-body .tr-feet { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: auto; padding-top: calc(2 * var(--gap-block) + 1px);
  background: linear-gradient(var(--line-soft), var(--line-soft)) 0 var(--gap-block) / 100% 1px no-repeat; }
.tr-body .tr-feet > .tr-foot-line { margin: 0; padding: 0; border: 0; }
.tr-body .tr-foot-line[hidden], .tr-body .tr-feet[hidden] { display: none; }
.tr-body .tr-card--flush > .tr-feet { padding: calc(var(--pad-row) + 1px) calc(var(--pad-card) / 2) var(--pad-row); background-position: 0 0; }
.tr-body .tr-about--fold > .tr-about-grid:has(+ .tr-feet) { padding-bottom: 0; }
.tr-body .tr-about--fold > .tr-feet { margin: 0 var(--pad-card); padding-bottom: var(--pad-card); }
/* the re-check card: its heading, then the figures with no rule of their own (the footer brings the card's one rule) */
.tr-body .tr-card.tr-progress > h3 + .tr-stats { margin-top: 0; padding-top: 0; border-top: 0; }
/* the reset button left of the switcher: its room is kept while it is hidden (it fades in at its place, nothing moves) */
.tr-body .tr-swhead > .tr-sort-reset { margin: 0; align-self: center; }
.tr-body .tr-swhead > .tr-sort-reset:not(.is-on) { visibility: hidden; }   /* the page script keeps it out of [hidden] here (data-keep) */
.tr-body .tr-swhead > .tr-sort-reset { transition: opacity .25s, visibility .25s; }
.tr-body .tr-card[data-comp]:not([data-comp-on="all"]) > .tr-swhead > .tr-sort-reset { visibility: hidden; }   /* the table's button, kept in place while the bars show */
/* Competitor breakdown: "All" (Victor: "If possible have this all item slightly different from the rest"): a divider
   before it and the table mark; it shows the table in place of the bars (the card's data-comp-on). */
.tr-body .tr-seg-btn--all { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-left: var(--sp-2); }
.tr-body .tr-seg-btn--all::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: calc(-1 * var(--sp-2) / 2 - 3px); width: 1px; background: var(--line); }
.tr-body .tr-seg-btn--all .tr-ico { flex: none; }
.tr-body .tr-card[data-comp]:not([data-comp-on="all"]) > .tr-comp-table, .tr-body .tr-card[data-comp][data-comp-on="all"] > .tr-comps { display: none; }
.tr-body .tr-card[data-comp] > .tr-comp-table { margin: calc(-1 * var(--pad-row)) calc(-1 * var(--pad-card) / 2) calc(-1 * var(--pad-row)); }
.tr-body .tr-comp-table:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
/* the competitors' number-led line as a callout after its cards (as the action plan's) */
.tr-body .tr-comp-callout { margin: var(--gap-card) 0 0; }
/* a credit line in a footer reads as the line it sits in (.tr-credit is small and grey under a figure) */
.tr-body .tr-feet .tr-credit { color: inherit; font-size: inherit; line-height: inherit; }
/* the comparison table fits the card from 1000 px up: the number columns' cells a little narrower */
.tr-body .tr-table--comp th.num, .tr-body .tr-table--comp td.num { padding-left: var(--sp-2); }
.tr-body .tr-table--comp th.num:not(:last-child), .tr-body .tr-table--comp td.num:not(:last-child) { padding-right: var(--sp-2); }
/* on a phone the heading row has no room for the word: the button is its mark (its name stays for screen readers), at
   the end of the heading's line, so it still never moves the switcher under it */
@media (max-width: 560px) {
  .tr-body .tr-swhead > .tr-sort-reset { justify-content: center; width: 36px; min-height: 36px; padding: 0; }
  .tr-body .tr-swhead > .tr-sort-reset > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* 27. One style for every card (5 Dec 2026, Victor: "do a full review of the card spacing, padding, gaps, heading font
   sizes, sub-heading font styles, and the style of the text to the right of card headers, spacing between table rows,
   and other elements in the cards. Work out the best for the page and then make them all uniform"). Measured on the
   sample at 1440 / 1000 / 390 (README, 5 Dec 2026: the before and after tables). The guideline, one value per role:
     card inside edge ............ 24 / 16 on a phone (table cards: 12 + the cells' 12)      unchanged
     card to card ................ 16                                                         unchanged
     card heading ................ 18 px / 700 / 1.3, ink (was 20 / 800 on the eight headings that used to head a
                                   part, the share card, About; 19 on the badge promo and two plan steps; 17 on the
                                   empty news card)
     text beside a heading ....... 15 px / 500 / body colour, its number in the section's colour (700), 12 after the
                                   heading on its baseline, 4 under it when it wraps (was 16 px; 13 px muted on a
                                   one-list card)
     sub-heading in a card ....... 16 px / 700 / ink, 24 above it, 16 to what follows (was 18 / 700)
     heading row to content ...... 16, text to text (no rule straight under a heading: two cards had one)
     list and table rows ......... 12 above and below                                       unchanged
     footer ...................... 16, rule, 16; lines 8 apart; 15 px; a 20 px mark           (Domain history's
                                   archive.org line joins it: it was 16 + its own rule). Since the second list of
                                   5 Dec 2026 that is for a call to action only; a note line is 13 px / 1.5 / muted
                                   with a 16 px mark in the 20 px column (block 28 c) */
.tr-body .tr-card > h3:not(.tr-card-title), .tr-body .tr-card :is(.tr-part-head, .tr-sub-head, .tr-card-head) > h3, .tr-body .tr-card > .tr-card-head > .tr-card-title,
.tr-body .tr-tbadge h3, .tr-body .tr-opps .tr-opp:not(.tr-opp--pick) h3, .tr-body .tr-nonews-t, .tr-body .tr-about--fold .tr-about-sum h2, .tr-body .tr-tab-solo, .tr-body .tr-chart-cap--head > h3 {
  color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.tr-body .tr-card .tr-fpart-sum, .tr-body .tr-tab-solo > small { color: var(--body); font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.tr-body .tr-card :is(.tr-part-head, .tr-sub-head), .tr-body .tr-tab-solo { gap: var(--sp-1) var(--sp-3); }
.tr-body .tr-psi-cwv h3, .tr-body .tr-about-h { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.tr-body .tr-about-h { margin-bottom: var(--gap-block); }
/* no rule straight under a card's heading (Traffic and rankings, Domain history): the figures follow at 16 */
.tr-body .tr-card > h3 + .tr-stats:not(:first-child) { margin-top: 0; padding-top: 0; border-top: 0; }
/* the empty news card: its title is a card heading, its line under it stays (Victor's exception) */
.tr-body .tr-nonews-t { margin: 0 0 var(--sp-1); }
.tr-body .tr-opps--lead .tr-opp--pick h3 { font-size: 1.5rem; }   /* the plan's lead card keeps its larger title (its own design, 4 Dec 2026) */
/* the free view: an unlock line ("See 7 more … Unlock with your email") followed by the card's footer is one footer:
   one rule (the unlock line's), lines 8 apart, the same 20 px mark column */
.tr-body .tr-card-foot--unlock > .tr-ico { width: 20px; height: 20px; }
.tr-body .tr-card-foot--unlock + .tr-feet { padding-top: var(--sp-2); background-image: none; }
.tr-body .tr-card--flush > .tr-card-foot--unlock:has(+ .tr-feet) { padding-bottom: var(--sp-2); }
.tr-body .tr-card--flush > .tr-card-foot--unlock + .tr-feet { padding-top: 0; }
/* 28. Victor's second list of 5 Dec 2026:
   a) Tip cards open their section (his: "Move that to the very top of the Overview section. All other similar style tip
      cards should also be moved to the top of their sections"): the plan's summary line under the Overview heading,
      the competitors' line under theirs. 16 to the first card under it, as card to card.
   b) The KPI cards' sources: every source of the figure, as the outlets' overlapping stack (.tr-stackmarks: each mark a
      white ring, 6 px over the one before), then "First source + n" on one line (ellipsis if the card is too narrow).
   c) Card footers: a line that is not a call to action takes the badge card's "Auto updates" size (.tr-fine: 13 px, line
      1.5, muted); its mark 16 px in the 20 px column of the footer, so the text of every line starts at the same place.
      CTA lines (ta_foot_line, TA_FOOT_CTA) keep 15 px and a 20 px mark.
   d) "Quick wins, under an hour": the items follow each other with one gap between them (was three equal columns,
      which left a wide empty stretch after a short item); under 961 px they stack, as before.
   e) The Authority chart's title is the card's heading (block 27's card heading), its trend pill beside it, 16 to the
      chart. */
.tr-body .tr-callout--top { margin: 0 0 var(--gap-card); }
.tr-body .tr-kpi-src { gap: var(--sp-2); min-width: 0; cursor: default; }
.tr-body .tr-kpi-marks { flex: none; margin-right: 0; }
.tr-body .tr-kpi-marks .tr-logomark { width: 18px; height: 18px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.tr-body .tr-kpi-marks .tr-logomark--ico { display: inline-grid; place-items: center; }
.tr-body .tr-kpi-srcname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-body .tr-foot-line--note { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.tr-body .tr-foot-line--note > .tr-ico, .tr-body .tr-foot-line--note > .tr-logomark { width: 16px; height: 16px; margin: 2px 2px 0; }
.tr-body .tr-wins-card .tr-wins { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--gap-col); }
.tr-body .tr-wins-card .tr-wins > li { flex: 0 1 auto; min-width: 0; }
@media (max-width: 960px) { .tr-body .tr-wins-card .tr-wins { flex-direction: column; } }
.tr-body .tr-chart-cap--head { align-items: center; margin-bottom: var(--gap-block); }
.tr-body .tr-chart-cap--head > h3 { margin: 0; }
/* 29. Victor's third list of 5 Dec 2026:
   a) No "Data from" / "Written with" rows: each section's sources are one stack right of its eyebrow text (.tr-eyesrc),
      every mark its own tooltip (name over one sentence) and tab stop; the hovered or focused mark comes to the front.
   b) One size and shape for every horizontal stack of icons, measured on the reference (the outlets' stack left of
      "BrandPush builds your media presence with guaranteed news coverage"): 24 px round marks, each 6 px over the one
      before, a 2 px ring in the colour behind the stack (white on a card, the page's wash beside an eyebrow) and a 1 px
      line. The KPI cards' stacks (18 px since the second list) follow it.
   c) The site's picture in the Overview card (three columns only, from 1041 px): its column is a little wider, the
      picture sits in the middle of the card's height with the card's own 24 px around it, so the space above equals
      the space below, and picture to "What's working" equals "What's working" to "What's holding it back" (24 + 24).
   d) The Action plan's heading is fixed (its written headline was a tip card here until the fourth list, block 30).
   e) Domain history's three stored screenshots: oldest, halfway, latest, each named over its date.
   f) Social sharing preview: Slack, Discord, Telegram and iMessage join the toggle; eight platforms, so the toggle
      shows the icons alone at every width (the name is the button's accessible name and its tooltip). */
.tr-body .tr-stackmarks { display: inline-flex; flex: none; align-items: center; margin-right: 0; --ring: #fff; }
.tr-body .tr-stackmarks .tr-logomark, .tr-body .tr-kpi-marks .tr-logomark { width: 24px; height: 24px; box-shadow: 0 0 0 2px var(--ring), 0 0 0 3px var(--line); }
.tr-body .tr-stackmarks > * + * { margin-left: -6px; }
.tr-body .tr-stackmarks .tr-logomark--ico { display: inline-grid; place-items: center; }
.tr-body .tr-stackmarks .tr-fav.tr-logomark { padding: 4px; }
.tr-body .tr-stackmarks > .tr-src { position: relative; display: inline-flex; border-radius: 50%; }
.tr-body .tr-stackmarks > .tr-src:is(:hover, :focus-visible, [data-at]) { z-index: 1; }
.tr-body .tr-stackmarks > .tr-src:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tr-body .tr-eyesrc { --ring: var(--wash); margin-left: var(--sp-1); }
@media (min-width: 1041px) {   /* three columns only; 1040 px and down keep block 22's band and its phone column */
  .tr-body .tr-sum-cols--shot { grid-template-columns: minmax(0, .84fr) repeat(2, minmax(0, 1fr)); }
  .tr-body .tr-sum-shot { display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding: var(--pad-card); }
}
@media (min-width: 1041px) and (max-width: 1240px) { .tr-body .tr-sum-cols--shot { grid-template-columns: minmax(0, .95fr) repeat(2, minmax(0, 1fr)); } }   /* the lists wrap more: a wider picture fills the taller card */
.tr-body .tr-shots .tr-shot-d { display: inline-flex; flex-direction: column; line-height: 1.3; }
.tr-body .tr-shot-role { color: var(--muted); font-size: .75rem; font-weight: 600; }
@media (max-width: 560px) { .tr-body .tr-shots .tr-shot-d { align-items: center; } }
[data-kw-on="sl"] [data-kw]:not([data-kw="sl"]), [data-kw-on="dc"] [data-kw]:not([data-kw="dc"]),
[data-kw-on="tg"] [data-kw]:not([data-kw="tg"]), [data-kw-on="im"] [data-kw]:not([data-kw="im"]) { display: none !important; }
.tr-body .tr-spcard .tr-seg-btn--ico { justify-content: center; min-width: 40px; padding: 0; }
.tr-body .tr-spcard .tr-seg-btn--ico > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 560px) { .tr-body .tr-spcard .tr-seg-btn--ico { min-width: 34px; } }
.tr-sp-site { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; overflow: hidden; font-size: .8125rem; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.tr-sp-site .tr-fav { width: 16px; height: 16px; }
.tr-sp--sl, .tr-sp--dc, .tr-sp--tg, .tr-sp--im { max-width: 440px; }
.tr-sp--sl { gap: var(--sp-2); padding: 0 0 0 var(--sp-3); border: 0; border-left: 4px solid #dddddd; border-radius: 0; background: none; }
.tr-sp--sl .tr-sp-meta, .tr-sp--dc .tr-sp-meta { padding: 0; border: 0; background: none; }
.tr-sp--sl .tr-sp-site { color: var(--ink); }
.tr-sp--sl .tr-sp-title { color: #1264a3; }
.tr-sp--sl .tr-sp-desc, .tr-sp--dc .tr-sp-desc, .tr-sp--tg .tr-sp-desc { -webkit-line-clamp: 3; line-clamp: 3; }
.tr-sp--sl .tr-sp-img { max-width: 360px; border-radius: 8px; }
.tr-sp--dc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border: 0; border-left: 4px solid #1e1f22; border-radius: 4px; background: #2b2d31; }
.tr-sp--dc .tr-sp-site { color: #dbdee1; font-weight: 500; }
.tr-sp--dc .tr-sp-title { color: #00a8fc; }
.tr-sp--dc .tr-sp-desc { color: #dbdee1; }
.tr-sp--dc .tr-sp-img { border-radius: 4px; background: #1e1f22; }
.tr-sp--dc .tr-sp-noimg { color: #b5bac1; }
.tr-sp--dcthumb { grid-template-columns: minmax(0, 1fr) 80px; align-items: start; }
.tr-sp--dcthumb > .tr-sp-img { width: 80px; aspect-ratio: 1; }
.tr-sp--dcthumb .tr-sp-noimg > span { display: none; }
.tr-sp--tg { padding: var(--sp-2) var(--sp-3) var(--sp-3); border: 0; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tr-sp--tg .tr-sp-link { padding: 0 0 var(--sp-2); color: #168acd; }
.tr-sp--tg .tr-sp-card { gap: var(--sp-2); padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-3); border-left: 3px solid #3390ec; border-radius: 4px; background: rgba(51, 144, 236, .08); }
.tr-sp--tg .tr-sp-meta { padding: 0; border: 0; background: none; }
.tr-sp--tg .tr-sp-site { color: #3390ec; }
.tr-sp--tg .tr-sp-img { border-radius: 6px; }
.tr-sp--im { max-width: 300px; border: 0; border-radius: 18px; background: none; }
.tr-sp--im .tr-sp-card { overflow: hidden; border-radius: 18px; }
.tr-sp--im .tr-sp-meta { border-top: 0; background: #e9e9eb; }
.tr-sp--im .tr-sp-title { font-size: .9375rem; }
/* 30. Victor's fourth list of 5 Dec 2026:
   a) "Remove the underline from below "Fix guide for AI or your developer" while still keeping the tooltip": that one
      label loses the dotted line (.tr-kv-l--plain); every other .tr-kv-l keeps it, the tooltip and tab stop stay.
   b) "In the closed "About this report" stack the icons like they are in the eyebrow sections": the summary's marks are
      the report's one stack (block 29 b: 24 px, 6 px over the one before, white ring on the white card). No tab stop
      inside <summary>; hover tooltips only. 560 px and down: the first seven marks (the widest eyebrow stack), then
      "+n" (the other names in its tooltip), so the row never runs into the chevron. */
.tr-body .tr-kv-l--plain { border-bottom: 0; }
.tr-body .tr-about-marks { flex-wrap: nowrap; align-items: center; gap: var(--sp-2); min-width: 0; }
.tr-body .tr-about-marks > .tr-stackmarks { min-width: 0; }
.tr-body .tr-about-more { display: none; flex: none; color: var(--muted); font-size: .8125rem; font-weight: 700; line-height: 1; cursor: default; }
@media (max-width: 560px) {
  .tr-body .tr-about-marks > .tr-stackmarks > .tr-src:nth-child(n+8) { display: none; }
  .tr-body .tr-about-more { display: inline-flex; }
}
/* 31. The skeletons round of 5 Dec 2026 (Victor: "review how the fully filled out site appears and update the loading
      skeletons to accurately represent the loaded state"). Only loading placeholders; no loaded card changes here.
   a) A footer of two lines (Competitors' two cards).
   b) Placeholder tip cards take their loaded height per width (--mh / --mht / --mhp, as the cards do); the Overview's
      tip card is two lines on a phone (84 px).
   c) The Social sharing preview placeholder: the platform selector over the picture at the left, the tag rows at the
      right; one column below 961 px, as the loaded card.
   d) A re-check's "Since <date>" line while its part loads. */
.tr-body .tr-sk-foot--2 { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-3); padding: var(--sp-4) 0 0; }
.tr-body .tr-sk-callout { min-height: var(--mh, 75px); }
@media (min-width: 561px) and (max-width: 960px) { .tr-body .tr-sk-callout { min-height: var(--mht, var(--mh, 75px)); } }
@media (max-width: 560px) {
  .tr-body .tr-sk-callout { min-height: var(--mhp, var(--mh, 75px)); }
  .tr-body .tr-plan-tip.tr-sk-callout { min-height: 84px; }
}
.tr-body .tr-sk-sp { display: flex; flex-direction: column; gap: var(--gap-block); min-height: 0; }
@media (max-width: 960px) { .tr-body .tr-sk-cols2:has(> .tr-sk-sp) { grid-template-columns: 1fr; row-gap: var(--gap-block); } }
.tr-body .tr-sk-progress { display: flex; align-items: center; }
/*    e) The Overview's waiting line keeps the height of the line that replaces it (inline --mh / --mht / --mhp). */
.tr-body .tr-sum-next--wait { min-height: var(--mh, 0); }
@media (min-width: 561px) and (max-width: 960px) { .tr-body .tr-sum-next--wait { min-height: var(--mht, var(--mh, 0)); } }
@media (max-width: 560px) { .tr-body .tr-sum-next--wait { min-height: var(--mhp, var(--mh, 0)); } }
/* 32. The selectors round of 5 Dec 2026 (Victor: "Lets even out the width of the selectors so they take up even spacing.
      They should fill up the space they have."; the Social sharing preview's selector "to the top right of the card";
      "the progress bars in "Where you rank" and "This month" do not line up and are different widths").
   a) The badge options (Theme, Gradient, Verified label / Font, Badge links to): each control fills its cell of the
      six-track grid (three cells of two tracks, then two of three) and its buttons share the width equally. A grid too
      narrow for the two wide controls side by side (under 540 px: viewports of about 870 to 1190 px and 561 to 670 px,
      measured 5 Dec 2026) gives each of them a row of its own; phones stack every option (block above). Only these five:
      the selectors in card heads stay as wide as their options.
   b) The Social sharing preview: its platform selector in the card's heading row (.tr-card-head.tr-swhead, block 24),
      at the right; under the heading where the card is too narrow, as the other card heads.
   c) "Where you rank" and "Ranking changes this month" (was "This month"): heading, a one-line summary, the bar, the
      rows in both cards; one bar thickness (12 px, the movement bar's), and the rank rows as tall and as indented as
      the movement rows (their colour key sits in the icons' 22 px column), so the bars and the first three rows are
      level side by side. The rank rows no longer stretch to fill the card. */
.tr-body .tr-bgrid--3 { container-type: inline-size; }
.tr-body .tr-bgrid--3 > .tr-bf:has(> .tr-seg) { align-items: stretch; }
.tr-body .tr-bgrid--3 > .tr-bf > .tr-seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; align-self: stretch; }
.tr-body .tr-bgrid--3 > .tr-bf > .tr-seg > .tr-seg-btn { min-width: 0; padding: 0 var(--sp-2); white-space: nowrap; }
@container (max-width: 539px) { .tr-body .tr-bgrid--3 > .tr-bf--half { grid-column: 1 / -1; } }
.tr-body .tr-card .tr-swhead > .tr-sub-head { flex-basis: 240px; }
.tr-body .tr-rankcard .tr-spread { height: 12px; border-radius: 6px; }
.tr-body .tr-rankcard .tr-spread-legend { flex: none; grid-auto-rows: auto; }
.tr-body .tr-rankcard .tr-spread-legend li { grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--sp-3); }
.tr-body .tr-rankcard .tr-spread-sw { justify-self: center; }
/*    d) Their placeholders (ta_skeleton 'keywords', 'trust'): "Where you rank" keeps the room of a fourth row beside the
      movement card (side by side only, from 961 px); the Social sharing preview's selector pill sits in its heading row. */
.tr-body .tr-sk-row--blank { border-top-color: transparent; }
@media (max-width: 960px) { .tr-body .tr-sk-row--blank { display: none; } }
.tr-body .tr-sk-sub { display: flex; flex: 1 1 240px; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-3); min-width: 0; }   /* the heading row's left side, as .tr-sub-head */

/* 6 Dec 2026 (Victor): on a phone the keyword tables' "Searches a month" reads "Searches p/m" */
.tr-pm-short { display: none; text-decoration: none; }
@media (max-width: 560px) { .tr-pm-long { display: none; } .tr-pm-short { display: inline; } }
/* 6 Dec 2026 (Victor): a locked notice carries an "Unlock" link at its right, so the reader can jump to the unlock form */
.tr-emptyshape-why .tr-go { flex: none; margin-left: 2px; padding-left: 12px; border-left: 1px solid var(--line); font-weight: 700; }
/* the whole pill is the link (6 Dec 2026, Victor) */
a.tr-emptyshape-why--go { color: var(--body); text-decoration: none; cursor: pointer; transition: box-shadow .16s var(--ease), transform .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.tr-emptyshape-why--go:hover { box-shadow: var(--shadow-lift); } a.tr-emptyshape-why--go:hover .tr-go .tr-ico { transform: translateX(2px); } }
a.tr-emptyshape-why--go:focus-visible { outline: 2px solid var(--data, #2f6fde); outline-offset: 3px; }
@media (max-width: 560px) {   /* with the Unlock link a long notice no longer fits one line on a phone: it wraps instead of being cut */
  .tr-emptyshape-why { width: max-content; max-width: calc(100% - 24px); white-space: normal; border-radius: 18px; line-height: 1.35; }   /* max-content: left 50% would leave it half the card to wrap in */
  .tr-emptyshape-why span { overflow: visible; text-overflow: clip; }
}
