/* Tool detail pillar. Prefix `tp-`. Tokens come from style.css :root. */
.tp { background: var(--color-surface); }
.tp__wrap { padding-block: 1rem var(--section-gap); }
.tp-muted { color: var(--color-text-muted); font-weight: 400; }
.tp ul { margin: 0; padding: 0; list-style: none; }

/* Breadcrumb */
.tp-crumbs { margin-bottom: 1rem; font-size: var(--text-sm); overflow-x: auto; scrollbar-width: none; }
.tp-crumbs::-webkit-scrollbar { display: none; }
.tp-crumbs ol { display: flex; gap: 0.4rem; margin: 0; padding: 0; list-style: none; white-space: nowrap; color: var(--color-text-muted); }
.tp-crumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--color-border-strong); }
.tp-crumbs a { color: var(--color-text-secondary); text-decoration: none; }
.tp-crumbs a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.tp-crumbs [aria-current] { color: var(--color-text-primary); font-weight: 600; }

/* Hero */
.tp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 1.25rem 2rem;
  align-items: start;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-accent-soft), var(--color-surface) 70%);
}
.tp-hero__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; min-width: 0; align-content: start; }
.tp-hero__id { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.tp-logo { border-radius: 18px; box-shadow: var(--shadow-card); flex: none; }
.tp-hero__title { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.25rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.tp-hero__tagline { margin: 0; max-width: 46rem; font-size: var(--text-lg); line-height: 1.5; color: var(--color-text-secondary); }
.tp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; margin: 0.35rem 0 0; font-size: var(--text-sm); color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.tp-rating strong { color: var(--color-text-primary); }
.tp-rating a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tp-rating a:hover { color: var(--color-accent-ink); }
.tp-rating__sep { color: var(--color-border-strong); }
.tp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 !important; }
.tp-badges .ats-tag, .tp-badges .ats-badge-pricing { margin: 0; }
.tp-badge {
  display: inline-block; padding: 0.15rem 0.6rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--color-surface); font-size: var(--text-xs); font-weight: 600; line-height: 1.5; color: var(--color-neutral-ink);
}
.tp-badge--sponsored { background: var(--color-warn-bg); border-color: transparent; color: var(--color-warn-ink); }
.tp-badge--featured { background: var(--color-accent-fill); border-color: transparent; color: var(--color-on-accent); }

.tp-hfacts { margin: 0; display: grid; gap: 0; font-size: var(--text-sm); border-top: 1px solid var(--color-border); }
.tp-hfacts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.75rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); }
.tp-hfacts dt { color: var(--color-text-muted); }
.tp-hfacts dd { margin: 0; font-weight: 600; color: var(--color-text-primary); font-variant-numeric: tabular-nums; }
.tp-soc { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tp-soc a {
  display: grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.4rem; border: 1px solid var(--color-border); border-radius: 50%;
  background: var(--color-surface); font-size: var(--text-xs); font-weight: 700; color: var(--color-text-secondary); text-decoration: none;
}
.tp-soc a:hover { border-color: var(--color-accent); color: var(--color-accent-ink); }

.ats-stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; }
.ats-stars__base { color: var(--color-border-strong); }
.ats-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--color-star, #F5B301); }

.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tp-cta { justify-content: center; padding: 0.7rem 1.25rem; font-size: var(--text-base); }
[data-tp-save][aria-pressed="true"] { border-color: var(--color-accent-2); background: var(--color-accent-2-soft); color: var(--color-accent-ink); }
.tp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: var(--text-sm); }
.tp-share__label { color: var(--color-text-muted); margin-right: 0.15rem; }
.tp-share__btn {
  display: inline-flex; align-items: center; min-height: 2rem; padding: 0.2rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  background: var(--color-surface); font: inherit; font-size: var(--text-xs); font-weight: 600; color: var(--color-text-secondary); text-decoration: none; cursor: pointer;
}
.tp-share__btn:hover { border-color: var(--color-accent); color: var(--color-accent-ink); }
.tp-disclosure { margin: 0; font-size: var(--text-xs); line-height: 1.5; color: var(--color-text-muted); }

.tp-hero__shot { margin: 0; min-width: 0; }
.tp-hero__shotlink { display: block; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-card); cursor: zoom-in; }
.tp-hero__shotlink img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tp-ph {
  --h: 18; display: grid; place-content: center; justify-items: center; gap: 0.5rem; aspect-ratio: 16 / 10; padding: 1.5rem; text-align: center;
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background: linear-gradient(135deg, hsl(calc(8 + var(--h) / 360 * 36) 90% 93%), hsl(calc(272 + var(--h) / 360 * 24) 70% 92%));
}
.tp-ph__logo { border-radius: 20px; box-shadow: var(--shadow-card); }
.tp-ph__name { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--color-ink); }
.tp-ph__domain { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* Featured stack (own labelled slots) */
.tp-feat { margin-top: 1rem; }
.tp-feat ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.6rem; }
.tp-feat__item a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.65rem; align-items: center; height: 100%; padding: 0.7rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); text-decoration: none; color: inherit; box-shadow: var(--shadow-card); }
.tp-feat__item a:hover { border-color: var(--color-accent); }
.tp-feat__txt { display: grid; min-width: 0; }
.tp-feat__name { font-weight: 700; font-size: var(--text-sm); }
.tp-feat__desc { font-size: var(--text-xs); line-height: 1.4; color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-feat__item .tp-badge { grid-column: 2; justify-self: start; }

/* Anchor nav */
.tp-nav {
  position: sticky; top: 60px; z-index: 40;
  margin: 1rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter);
  background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.admin-bar .tp-nav { top: 92px; }
.tp-nav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.tp-nav ul::-webkit-scrollbar { display: none; }
.tp-nav a {
  display: block; padding: 0.85rem 0.9rem; border-bottom: 2px solid transparent; white-space: nowrap;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-text-secondary); text-decoration: none;
}
.tp-nav a:hover { color: var(--color-text-primary); }
.tp-nav a[aria-current] { color: var(--color-accent-ink); border-bottom-color: var(--color-accent); }

/* Layout */
.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin-top: 1.75rem; }
.tp-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; min-width: 0; }
.tp-main:empty { display: none; }
.tp-section { scroll-margin-top: 8rem; }
.tp-section > h2, .tp-band__head h2 { margin: 0 0 1rem; font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.tp-prose { font-size: var(--text-base); line-height: 1.7; color: var(--color-text-secondary); }
.tp-prose > :first-child { margin-top: 0; }
.tp-prose > :last-child { margin-bottom: 0; }
.tp-prose a { color: var(--color-accent-ink); }

/* Features */
.tp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tp-feature { position: relative; padding: 1rem 1rem 1rem 3.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-feature__n {
  position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; background: var(--color-accent-2-soft); color: var(--color-accent-ink); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums;
}
.tp-feature h3 { margin: 0; font-size: var(--text-base); font-weight: 700; line-height: 1.35; }
.tp-feature p { margin: 0.3rem 0 0; font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-secondary); }

/* Use cases */
.tp-usecases { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tp-usecases li { padding: 0.45rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-accent-2-soft); font-size: var(--text-sm); color: var(--color-text-primary); }

/* Pricing */
.tp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; }
.tp-plan { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-plan__name { margin: 0; font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent-ink); }
.tp-plan__price { margin: 0; font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tp-plan__list { display: grid; gap: 0.4rem; margin-top: 0.25rem !important; font-size: var(--text-sm); color: var(--color-text-secondary); }
.tp-plan__list li { position: relative; padding-left: 1.2rem; line-height: 1.45; }
.tp-plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success-ink); font-weight: 700; }
.tp-note { margin: 0.9rem 0 0; font-size: var(--text-xs); color: var(--color-text-muted); }

/* Pros & cons */
.tp-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tp-pc:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.tp-pc__col { padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--radius-md); border: 1px solid transparent; }
.tp-pc__col--pros { background: var(--color-success-bg); border-color: #cbe8d6; }
.tp-pc__col--cons { background: var(--color-warn-bg); border-color: #f1dcb4; }
.tp-pc__col h3 { margin: 0 0 0.6rem; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; }
.tp-pc__col--pros h3 { color: var(--color-success-ink); }
.tp-pc__col--cons h3 { color: var(--color-warn-ink); }
.tp-pc ul { display: grid; gap: 0.5rem; }
.tp-pc li { position: relative; padding-left: 1.4rem; font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-primary); }
.tp-pc__col--pros li::before { content: "+"; position: absolute; left: 0.1rem; font-weight: 800; color: var(--color-success-ink); }
.tp-pc__col--cons li::before { content: "−"; position: absolute; left: 0.1rem; font-weight: 800; color: var(--color-warn-ink); }
.tp-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0.75rem 0 0; }
.tp-verdict > div { padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.tp-verdict__wide { grid-column: 1 / -1; }
.tp-verdict dt { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.tp-verdict dd { margin: 0.2rem 0 0; font-size: var(--text-sm); line-height: 1.55; }

/* FAQ */
.tp-faq { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.tp-faq__item + .tp-faq__item { border-top: 1px solid var(--color-border); }
.tp-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 1.1rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--text-base); line-height: 1.4;
}
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1; color: var(--color-accent-ink); transition: transform 0.15s ease; }
.tp-faq details[open] summary::after { transform: rotate(45deg); }
.tp-faq summary:hover { background: var(--color-hover); }
.tp-faq details p { margin: 0; padding: 0 1.1rem 1.05rem; font-size: var(--text-sm); line-height: 1.65; color: var(--color-text-secondary); }

/* Stub (no data) */
.tp-stub { padding: 1.25rem 1.4rem; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-stub h2 { font-size: var(--text-xl) !important; }
.tp-stub p { margin: 0 0 0.5rem; color: var(--color-text-secondary); line-height: 1.6; }
.tp-stub a { color: var(--color-accent-ink); font-weight: 600; }

/* Sidebar */
.tp-side { position: sticky; top: 8.5rem; display: grid; gap: 0.9rem; }
.admin-bar .tp-side { top: 10.5rem; }
.tp-card { padding: 1.1rem 1.2rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-card__title { margin: 0 0 0.6rem; font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.tp-facts { margin: 0; }
.tp-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.tp-facts > div:first-child { border-top: 0; padding-top: 0; }
.tp-facts dt { color: var(--color-text-muted); flex: none; }
.tp-facts dd { margin: 0; text-align: right; font-weight: 600; color: var(--color-text-primary); font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.tp-facts a { color: var(--color-accent-ink); text-decoration: none; }
.tp-facts a:hover { text-decoration: underline; }
.tp-card--cta { display: grid; gap: 0.7rem; background: var(--color-surface); box-shadow: var(--shadow-card); border-color: var(--color-accent-tint); }
.tp-report { margin: 0; text-align: center; font-size: var(--text-sm); }
.tp-report a { color: var(--color-text-muted); }
.tp-report a:hover { color: var(--color-accent-ink); }

/* Bands */
.tp-band { margin-top: var(--section-gap); scroll-margin-top: 8rem; }
.tp-band__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.tp-band__head h2 { margin: 0; }
.tp-band__head a { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-ink); text-decoration: none; white-space: nowrap; }
.tp-band__head a:hover { text-decoration: underline; }
.tp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Mobile sticky CTA */
.tp-sticky { display: none; }

@media (max-width: 1023px) {
  .tp-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-side { position: static; order: 2; }
  .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .tp-hero { gap: 0.9rem; }
  .tp-hero__main { display: contents; }
  .tp-hero__id { order: 1; }
  .tp-hero__main > .pl-answer { order: 2; }
  .tp-hero__tagline { order: 2; }
  .tp-rating { order: 3; }
  .tp-hero__shot { order: 4; }
  .tp-keyfacts { order: 4; }
  .tp-badges { order: 5; } .tp-hfacts { order: 5; } .tp-hero__actions { order: 6; } .tp-share { order: 7; } .tp-disclosure { order: 8; }
  .tp-hfacts > div { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .tp-hero__actions .ats-btn { flex: 1 1 calc(50% - 0.5rem); justify-content: center; }
  .tp-hero__actions .tp-cta { flex-basis: 100%; }
  .tp-hero__tagline { font-size: var(--text-base); }
  .tp-features, .tp-pc, .tp-verdict { grid-template-columns: minmax(0, 1fr); }
  .tp-nav ul { gap: 0; }
  .tp-grid, .tp-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .tp-sticky {
    position: fixed; inset: auto 0 0 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 96%); backdrop-filter: blur(8px); border-top: 1px solid var(--color-border); box-shadow: 0 -6px 20px rgb(43 42 40 / 8%);
  }
  .tp-sticky[hidden] { display: none; }
  .tp-sticky__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
  .tp-sticky .ats-btn { flex: none; }
  .tp { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-faq summary::after { transition: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* How to use */
.tp-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0.6rem; }
.tp-steps li { counter-increment: step; position: relative; padding: 0.15rem 0 0.15rem 2.6rem; font-size: var(--text-base); line-height: 1.6; color: var(--color-text-secondary); }
.tp-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--color-accent-2-soft); color: var(--color-accent-ink); font-weight: 700; font-size: var(--text-sm); }

/* Media */
.tp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--color-ink); margin-bottom: 0.75rem; }
.tp-video__play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: var(--color-ink) center / cover no-repeat; display: grid; place-items: center; }
.tp-video__icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--color-accent-ink); font-size: 1.4rem; padding-left: 0.2rem; }
.tp-video__play:hover .tp-video__icon { background: #fff; }
.tp-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.tp-shots a { display: block; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.tp-shots img { display: block; width: 100%; height: auto; }

/* Analytics */
.tp-an { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-an__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.tp-an__top--stats { grid-template-columns: minmax(0, 1fr); }
.tp-an__chart { margin: 0; }
.tp-an__chart figcaption { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; align-items: baseline; margin-bottom: 0.5rem; font-size: var(--text-sm); font-weight: 700; }
.tp-an__chart figcaption .tp-muted { font-weight: 400; }
.tp-chart { display: block; width: 100%; height: 180px; }
.tp-chart__bar { fill: var(--chart-3); }
.tp-chart__bar.is-last { fill: var(--color-accent); }
.tp-chart text { font-size: 11px; fill: var(--color-text-muted); }
.tp-trend.is-up { color: var(--color-success-ink); }
.tp-trend.is-down { color: var(--color-warn-ink); }
.tp-an__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; }
.tp-an__top--stats .tp-an__stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tp-an__stats > div { display: flex; flex-direction: column-reverse; padding: 0.7rem 0.85rem; border-radius: var(--radius-sm); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-an__stats dd { margin: 0; font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tp-an__stats dt { font-size: var(--text-xs); color: var(--color-text-muted); }
.tp-an__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--color-border); }
.tp-an__cols h3 { margin: 0 0 0.7rem; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.tp-bars { display: grid; gap: 0.55rem; }
.tp-bars li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3.4rem; gap: 0.6rem; align-items: center; font-size: var(--text-sm); }
.tp-bars__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-primary); }
.tp-bars__track { height: 0.55rem; border-radius: var(--radius-pill); background: var(--color-wash); overflow: hidden; }
.tp-bars__track span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--color-accent); }
.tp-bars__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Company, links, embed */
.tp-company { display: grid; gap: 0; margin: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.tp-company > div { display: flex; gap: 1rem; padding: 0.8rem 1.1rem; font-size: var(--text-sm); }
.tp-company > div + div { border-top: 1px solid var(--color-border); }
.tp-company dt { flex: none; width: 8rem; color: var(--color-text-muted); }
.tp-company dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.tp-company a { color: var(--color-accent-ink); }
.tp-links { display: grid; gap: 0.1rem; }
.tp-links a { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-ink); text-decoration: none; }
.tp-links a:hover { text-decoration: underline; }
.tp-embed__intro { margin: 0 0 0.8rem; color: var(--color-text-secondary); }
.tp-embed__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.9rem; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-wash); }
.tp-embed__badge { padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); background: var(--color-accent-fill); color: var(--color-on-accent); font-size: var(--text-sm); font-weight: 700; text-decoration: none; }
.tp-embed__code { flex: 1 1 14rem; min-width: 0; padding: 0.55rem 0.7rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); font: 0.8rem ui-monospace, Menlo, monospace; background: var(--color-surface); color: var(--color-text-secondary); }
.tp-usecases a { color: inherit; text-decoration: none; }
.tp-usecases a:hover { color: var(--color-accent-ink); }

/* Alternatives page */
.tp-alt-hero { padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--color-accent-soft), var(--color-surface) 70%); }
.tp-alt-hero h1 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.25rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.tp-alt-hero p { margin: 0.6rem 0 0; max-width: 46rem; font-size: var(--text-lg); line-height: 1.55; color: var(--color-text-secondary); }
.tp-alt-hero__ref { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding: 0.5rem 0.9rem 0.5rem 0.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: inherit; text-decoration: none; font-weight: 700; }
.tp-alt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; counter-reset: alt; }
.tp-alt { counter-increment: alt; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: start; padding: 1.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-alt__rank { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-accent-2-soft); color: var(--color-accent-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.tp-alt h3 { margin: 0; font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; }
.tp-alt h3 a { color: inherit; text-decoration: none; }
.tp-alt h3 a:hover { color: var(--color-accent-ink); }
.tp-alt__tag { margin: 0.25rem 0 0; font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-secondary); }
.tp-alt__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center; margin-top: 0.55rem; font-size: var(--text-sm); color: var(--color-text-secondary); }
.tp-alt__pros { margin-top: 0.6rem !important; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tp-alt__pros li { padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); background: var(--color-success-bg); color: var(--color-success-ink); font-size: var(--text-xs); font-weight: 600; }
.tp-alt__actions { display: grid; gap: 0.4rem; justify-items: stretch; }
.tp-alt__actions .ats-btn { justify-content: center; white-space: nowrap; }
.tp-tablewrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.tp-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.tp-table th, .tp-table td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.tp-table thead th { background: var(--color-surface); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.tp-table tbody tr:last-child > * { border-bottom: 0; }
.tp-table tr.is-self > * { background: var(--color-accent-2-soft); font-weight: 700; }
.tp-table a { color: var(--color-accent-ink); font-weight: 600; text-decoration: none; }
.tp-table a:hover { text-decoration: underline; }

@media (max-width: 1023px) {
  .tp-an__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .tp-an__cols { grid-template-columns: minmax(0, 1fr); }
  .tp-bars li { grid-template-columns: 6.5rem minmax(0, 1fr) 3.2rem; }
  .tp-company > div { flex-direction: column; gap: 0.15rem; }
  .tp-company dt { width: auto; }
  .tp-alt { grid-template-columns: auto minmax(0, 1fr); }
  .tp-alt__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .tp-alt > .tp-alt__rank { display: none; }
  .tp-an__stats dd { font-size: var(--text-lg); }
}

/* Reviews */
.tp-notice { margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: var(--radius-md); background: var(--color-success-bg); color: var(--color-success-ink); font-size: var(--text-sm); }
.tp-rv { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; padding: 1.1rem 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.tp-rv__sum p { margin: 0.25rem 0 0; font-size: var(--text-sm); }
.tp-rv__avg strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tp-rv__dist { display: grid; gap: 0.4rem; }
.tp-rv__dist li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 2.4rem; gap: 0.6rem; align-items: center; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.tp-rv__bar { display: block; height: 0.55rem; border-radius: 999px; background: var(--color-wash); overflow: hidden; border: 1px solid var(--color-border); }
.tp-rv__bar span { display: block; height: 100%; background: #b45309; border-radius: 999px; }
.tp-rv__n { text-align: right; color: var(--color-text-muted); }
.tp-rlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin-top: 1rem !important; }
.tp-review { padding: 1rem 1.1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-review__head { display: flex; gap: 0.75rem; align-items: center; }
.tp-review__av { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-accent-2-soft); color: var(--color-accent-ink); font-weight: 700; flex: none; }
.tp-review__name { margin: 0; font-weight: 700; font-size: var(--text-sm); }
.tp-review__meta { margin: 0.1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; align-items: center; font-size: var(--text-xs); color: var(--color-text-muted); }
.tp-review__body { margin-top: 0.6rem; font-size: var(--text-sm); line-height: 1.65; color: var(--color-text-secondary); }
.tp-review__body > :last-child { margin-bottom: 0; }
.tp-pager { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.tp-pager a { display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 0.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text-secondary); font-size: var(--text-sm); font-weight: 600; }
.tp-pager a[aria-current] { background: var(--color-accent-fill); border-color: var(--color-accent-fill); color: var(--color-on-accent); }
.tp-rform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-rform h3 { margin: 0; font-size: var(--text-lg); }
.tp-rform p { margin: 0; }
.tp-rform label { display: block; margin-bottom: 0.25rem; font-size: var(--text-sm); font-weight: 600; }
.tp-rform input[type=text], .tp-rform input[type=email], .tp-rform textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); font: inherit; background: var(--color-surface); }
.tp-rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.tp-rform button { justify-self: start; }
.tp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tp-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.1rem; margin: 0; padding: 0; border: 0; }
.tp-stars legend { float: left; width: 100%; padding: 0; margin-bottom: 0.25rem; font-size: var(--text-sm); font-weight: 600; }
.tp-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tp-stars label { margin: 0 !important; font-size: 1.9rem !important; line-height: 1; color: var(--color-border-strong); cursor: pointer; padding: 0 0.1rem; }
.tp-stars input:checked ~ label, .tp-stars label:hover, .tp-stars label:hover ~ label { color: var(--color-star, #F5B301); }
.tp-stars input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }

/* Keywords table */
.tp-kw { margin-top: 1.5rem; }
.tp-kw h3, .tp-sub { margin: 0 0 0.6rem; font-size: var(--text-base); font-weight: 700; }
.tp-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.tp-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tp-table th, .tp-table td { padding: 0.65rem 0.9rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.tp-table thead th { background: var(--color-surface); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.tp-table tbody tr:last-child > * { border-bottom: 0; }
.tp-table tbody th { font-weight: 600; }
.tp-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.tp-status { margin: 1rem 0 0; font-size: var(--text-sm); }
.tp-status a { color: var(--color-accent-ink); font-weight: 600; }

/* Social listening */
.tp-sl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tp-sl__card a { display: grid; height: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); text-decoration: none; color: inherit; box-shadow: var(--shadow-card); }
.tp-sl__card a:hover { border-color: var(--color-accent); }
.tp-sl__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent-2-soft)); }
.tp-sl__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-sl__plat { position: absolute; left: 0.5rem; top: 0.5rem; display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 0.35rem; border-radius: 999px; background: rgb(43 42 40 / 82%); color: #fff; font-size: var(--text-xs); font-weight: 700; }
.tp-sl__thumb--youtube .tp-sl__plat { background: #b91c1c; }
.tp-sl__body { display: grid; gap: 0.4rem; padding: 0.8rem 0.9rem 0.95rem; align-content: start; }
.tp-sl__title { font-weight: 600; font-size: var(--text-sm); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-sl__meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; font-size: var(--text-xs); color: var(--color-text-muted); }
.tp-sl__name { font-weight: 700; color: var(--color-text-secondary); }

/* Discover */
.tp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem !important; }
.tp-chips .is-on { background: var(--color-accent-2-soft); border-color: var(--color-accent-2); }
.tp-sub { margin-top: 0; }

/* Lightbox */
.tp-lb[hidden] { display: none; }
.tp-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 3.5rem 1rem; }
.tp-lb__backdrop { position: absolute; inset: 0; background: rgb(43 42 40 / 88%); }
.tp-lb__stage { position: relative; margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 0.6rem; justify-items: center; }
.tp-lb__img { display: block; max-width: 100%; max-height: calc(100vh - 9rem); border-radius: var(--radius-md); background: #fff; }
.tp-lb__cap { color: #e6e4e9; font-size: var(--text-sm); text-align: center; }
.tp-lb__btn { position: absolute; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--color-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.tp-lb__btn:hover { background: #fff; }
.tp-lb__btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.tp-lb__close { top: 0.75rem; right: 0.75rem; }
.tp-lb__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.tp-lb__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.tp-lb-open { overflow: hidden; }

@media (max-width: 1023px) {
  .tp-sl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .tp-rv { grid-template-columns: minmax(0, 1fr); }
  .tp-rform__row { grid-template-columns: minmax(0, 1fr); }
  .tp-sl { grid-template-columns: minmax(0, 1fr); }
  .tp-lb { padding: 3.5rem 0.5rem; }
  .tp-lb__prev { left: 0.4rem; } .tp-lb__next { right: 0.4rem; }
}

/* template-align: tool key facts, tables, alternatives list (tokens only) */
.tp-keyfacts{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));font-size:var(--text-sm)}
.tp-keyfacts dd{font-weight:500}
.pl-cite{font-weight:400;color:var(--color-text-muted)}
.tp-altlist{margin:0;padding-left:1.1rem;display:grid;gap:.4rem}
.tp-an__stats{max-width:30rem}

/* =========================================================
   Round 3: airy tool detail. Overrides above; 8px rhythm.
   ========================================================= */
.tp__wrap { padding-block: var(--space-2) var(--section-gap); }
.tp-crumbs { margin-bottom: var(--space-3); }

/* Hero: open, no hard frame */
.tp-hero { gap: var(--space-4) var(--space-8); padding: var(--space-6) var(--space-6); border: 0; border-radius: 24px; background: var(--color-surface); box-shadow: var(--shadow-card); grid-template-columns: minmax(0, 1fr) minmax(0, 600px); align-items: center; }
.tp-hero__main { gap: var(--space-3); }
.tp-hero__id { gap: var(--space-3); align-items: flex-start; }
.tp-logo { border-radius: 20px; }
.tp-hero__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.tp-hero__byline, .tp-hero__id p { font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }
.tp-hero__tagline { font-size: var(--text-xl); line-height: 1.5; max-width: 38rem; }
.tp-rating { font-size: var(--text-base); gap: 0.25rem 0.75rem; }
.tp-badges { gap: 0.5rem; }
.tp-badge { padding: 0.25rem 0.75rem; font-size: var(--text-xs); border-color: transparent; background: var(--color-accent-2-soft); }
.tp-badge--featured { background: var(--color-accent-2); color: var(--color-on-accent-2); }       /* Featured = purple */
.tp-badge--sponsored { background: var(--color-accent-2-soft); color: var(--color-accent-2); }    /* Sponsored = soft purple, never orange */
.tp-hfacts { border-top: 0; margin-top: var(--space-1); }
.tp-hfacts > div { grid-template-columns: 9rem minmax(0, 1fr); padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.tp-hfacts dt { font-size: var(--text-sm); }
.tp-hfacts dd { font-size: var(--text-base); font-weight: 500; }
.tp-hero__actions { gap: var(--space-1); margin-top: var(--space-1); }
.tp-cta { padding: 0.9rem 1.75rem; font-size: var(--text-base); }
.tp-share { gap: 0.5rem; font-size: var(--text-sm); }
.tp-share__btn { min-height: 2.25rem; padding: 0.25rem 1rem; border-color: var(--color-border); }
.tp-disclosure { font-size: var(--text-sm); }
.tp-hero__shotlink { border: 0; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgb(43 42 40 / 10%); }
.tp-hero__shotlink img { aspect-ratio: 16 / 10; }

/* Sticky anchor nav: quiet */
.tp-nav { margin-top: var(--space-4); border-bottom: 1px solid var(--color-border); }
.tp-nav a { padding: 1rem 1.1rem; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-secondary); }
.tp-nav a:hover { color: var(--color-text-primary); }
.tp-nav a[aria-current], .tp-nav a.is-active { color: var(--color-accent-2); border-bottom-color: var(--color-accent-2); font-weight: 600; }

/* Featured stack */
.tp-feat { margin-top: var(--space-4); }
.tp-feat__item a { padding: var(--space-2); border-color: transparent; background: var(--color-surface); box-shadow: var(--shadow-card); border-radius: var(--radius-md); }
.tp-feat__item a:hover { background: var(--color-surface); border-color: var(--color-border); }

/* Layout + section rhythm */
.tp-layout { margin-top: var(--space-6); gap: var(--space-6) var(--space-8); grid-template-columns: minmax(0, 1fr) 320px; }
.tp-main { gap: var(--space-8); }
.tp-section > h2, .tp-band__head h2 { margin: 0 0 var(--space-3); font-size: var(--text-2xl); font-weight: 650; letter-spacing: -0.025em; }
.tp-section > h2::before { content: ""; display: block; width: 2rem; height: 3px; margin-bottom: var(--space-2); border-radius: 3px; background: var(--color-accent); }
.tp-section h3 { margin: var(--space-4) 0 var(--space-1); font-size: var(--text-lg); font-weight: 650; }
.tp-section p, .tp-prose p { max-width: var(--measure); font-size: var(--text-base); line-height: 1.7; color: var(--color-text-secondary); margin: 0 0 var(--space-2); }
.tp-prose { font-size: var(--text-lg); }
.tp-note, .tp-cite, .pl-cite { margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted); }

/* Tables: quiet, tall rows, numbers right */
.tp-tablewrap, .tp-table-wrap, .pl-table-wrap { border: 0; border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); padding: var(--space-1) var(--space-2) var(--space-1); }
.tp-table, .pl-table, .md-apitbl { font-size: var(--text-sm); }
.tp-table th, .tp-table td, .pl-table th, .pl-table td, .md-apitbl th, .md-apitbl td { padding: 1rem 1rem; border-bottom: 1px solid var(--color-border); line-height: 1.5; vertical-align: top; }
.tp-table thead th, .pl-table thead th, .md-apitbl thead th { background: transparent; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border-strong); }
.tp-table tbody tr:last-child > *, .pl-table tbody tr:last-child > * { border-bottom: 0; }
.tp-table td:not(:first-child), .tp-table th:not(:first-child) { font-variant-numeric: tabular-nums; }
.tp-table td.is-num, .tp-table th.is-num { text-align: right; }
.tp-table tr.is-self > * { background: var(--color-accent-2-soft); }
.tp-table caption, .pl-table caption { padding: 0 0 var(--space-1); text-align: left; font-size: var(--text-sm); color: var(--color-text-muted); caption-side: top; }

/* Sidebar: calm */
.tp-side { gap: var(--space-2); top: 9rem; }
.tp-card { padding: var(--space-3); border: 0; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-card--cta { background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-card__title { margin: 0 0 var(--space-1); font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.tp-keyfacts > div, .tp-facts > div { padding: 0.75rem 0; border-color: var(--color-border); }

/* Reviews: roomy cards, collapsed list */
.tp-rv { padding: var(--space-3); border: 0; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); gap: var(--space-3) var(--space-6); }
.tp-rv__bar { border: 0; background: var(--color-wash); }
.tp-rv__bar span { background: var(--color-accent); }
.tp-rlist { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.tp-review { padding: var(--space-3); border: 0; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-review__body { margin-top: var(--space-1); font-size: var(--text-base); line-height: 1.65; }
.tp-rlist.is-collapsed .tp-review:nth-child(n+6) { display: none; }
.tp-rlist-more { justify-self: start; margin-top: var(--space-1); }
.tp-rlist-more:hover { border-color: var(--color-accent-2); color: var(--color-accent-2); }
.tp-rform { padding: var(--space-3); border: 0; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); }

/* Charts: orange + purple */
.tp-chart__bar { fill: var(--chart-3); }
.tp-chart__bar:last-child, .tp-chart__bar.is-last { fill: var(--chart-1); }
.tp-bars__track span { background: var(--chart-1); }
.tp-bars li:nth-child(even) .tp-bars__track span { background: var(--chart-2); }

/* Lighter bottom blocks */
.tp-section--related, .tp-band { padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.tp-chips a { border-color: transparent; background: var(--color-accent-2-soft); color: var(--color-accent-2-hover); }
.tp-chips a:hover { background: var(--color-accent-2-tint); color: var(--color-accent-2-hover); }
.tp-links a { background: none; }
.tp-links li + li { border-top: 1px solid var(--color-border); }

@media (max-width: 960px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr); padding: var(--space-4) var(--space-3); gap: var(--space-4); }
  .tp-layout { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-4); }
  .tp-main { gap: var(--space-6); }
  .tp-hero__shot { order: 2; }
}
@media (max-width: 600px) {
  .tp-hero { padding: var(--space-3) var(--space-2); border-radius: var(--radius-lg); }
  .tp-hero__id { flex-direction: column; gap: var(--space-2); }
  .tp-hero__tagline { font-size: var(--text-lg); }
  .tp-hfacts > div { grid-template-columns: 1fr; gap: 0.125rem; }
  .tp-cta { width: 100%; }
  .tp-hero__actions > * { flex: 1 1 100%; }
  .tp-tablewrap, .tp-table-wrap, .pl-table-wrap { padding: 0; background: transparent; }
  .tp-table th, .tp-table td, .pl-table th, .pl-table td, .md-apitbl th, .md-apitbl td { padding: 0.875rem 0.75rem; }
  .tp-card, .tp-rv, .tp-review, .tp-rform { padding: var(--space-2) var(--space-3); }
}

/* Hero density tune: roomy but not tall */
.tp-hero { padding: var(--space-4) var(--space-6); gap: var(--space-3) var(--space-6); grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: start; }
.tp-hero__main { gap: 1.25rem; }
.tp-hero__tagline { font-size: var(--text-lg); line-height: 1.6; }
.tp-rating { margin: 0; }
.tp-hfacts > div { padding: 0.6rem 0; }
.tp-hero__shot { position: sticky; top: 6rem; }
.tp .tp-hero__main > * { margin-block: 0; }
.tp .tp-hero__main { gap: 1.25rem; }
.tp-table, .pl-table, .md-bench { border: 0; }
.tp .md-bench th, .tp .md-bench td { padding: 1rem; }
.tp-section h3 { font-weight: 650; }

/* Analytics: no boxes-in-boxes */
.tp-an { padding: 0; border: 0; background: transparent; box-shadow: none; }
.tp-an .tp-tablewrap, .tp-an .tp-table-wrap { padding: 0; background: transparent; border-radius: 0; }
.tp-an__top { gap: var(--space-4) var(--space-6); align-items: start; }
.tp-an__cols { gap: var(--space-6); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.tp-an h3, .tp-an__cols h3 { margin: 0 0 var(--space-1); font-size: var(--text-lg); font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--color-text-primary); }
.tp-an .tp-table { width: 100%; }
.tp-an .tp-table th:last-child, .tp-an .tp-table td:last-child { text-align: right; }
.tp-an .tp-kw th:not(:first-child), .tp-an .tp-kw td:not(:first-child), .tp-kw th:not(:first-child), .tp-kw td:not(:first-child) { text-align: right; }
.tp-an .tp-table caption { margin-bottom: var(--space-1); }
.tp-an__stats .tp-table th, .tp-an__stats .tp-table td { white-space: normal; }
.tp-an__stats { padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-chart { padding: 0; }
.tp-an .pl-table-wrap { padding: 0; background: transparent; border-radius: 0; }
.tp-an .pl-table { width: 100%; }
.tp-an .pl-table th:not(:first-child), .tp-an .pl-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tp-an .pl-table th, .tp-an .pl-table td { white-space: normal; }
.tp-an__stats { padding: 0; background: transparent; max-width: none; }
.tp-an__top > .pl-table-wrap, .tp-an__top > div:last-child { align-self: start; }

/* Reviews list + alternatives polish */
.tp ol.tp-rlist { margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.tp-review__head { align-items: center; gap: var(--space-2); }
.tp-review__head > div { display: grid; gap: 0.125rem; }
.tp-review__name, .tp-review__meta { margin: 0 !important; max-width: none; }
.tp-review__meta { display: flex; align-items: center; gap: 0.75rem; }
.tp-review__av { width: 2.5rem; height: 2.5rem; background: var(--color-accent-2-soft); color: var(--color-accent-2); }
.tp-review__body p { margin: 0; font-size: var(--text-base); line-height: 1.65; color: var(--color-text-secondary); }
.tp-altlist { display: grid; gap: var(--space-1); }
.tp-altlist li { padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); line-height: 1.6; }
.tp-an__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.tp-an .pl-table th:first-child, .tp-an .pl-table td:first-child { white-space: nowrap; }
.tp-rlist-more { background: var(--color-surface); border: 1px solid var(--color-border-strong); color: var(--color-text-primary); padding: 0.625rem 1.25rem; }
.tp-rlist-more:hover { background: var(--color-accent-2-soft); border-color: var(--color-accent-2); color: var(--color-accent-2); }

/* Final responsive pass (must stay last) */
@media (max-width: 960px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr); padding: var(--space-4) var(--space-3); }
  .tp-hero__shot { position: static; order: 2; }
  .tp-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-side { position: static; }
}
@media (max-width: 760px) {
  .tp-an__top, .tp-an__cols { grid-template-columns: minmax(0, 1fr); }
  .tp-an .pl-table th:first-child, .tp-an .pl-table td:first-child { white-space: normal; }
}
@media (max-width: 600px) {
  .tp-hero { padding: var(--space-3) var(--space-2); border-radius: var(--radius-lg); }
  .tp-hero__id { flex-direction: column; gap: var(--space-2); }
  .tp-hfacts > div { grid-template-columns: 1fr; gap: 0.125rem; }
  .tp-hero__actions > * { flex: 1 1 100%; }
  .tp-nav a { padding: 0.875rem 0.75rem; }
}

/* Hero v3: two buttons, quiet text links, icon share row, fits above the fold */
.tp-hero { align-items: center; padding: var(--space-3) var(--space-5, 2.5rem); gap: var(--space-3) var(--space-6); }
.tp-hero__shot { position: static; }
.tp-hero__main { gap: 0.875rem; }
.tp-hero__id { gap: var(--space-2); align-items: center; }
.tp-logo { width: 56px; height: 56px; border-radius: 16px; }
.tp-hero__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.tp-hero__tagline { font-size: var(--text-base); line-height: 1.55; }
.tp-hfacts > div { padding: 0.5rem 0; }
.tp-hero__actions { align-items: center; gap: 0.5rem 1rem; margin-top: 0.25rem; }
.tp-hero__actions > .ats-btn-secondary:not([data-tp-save]) { order: 5; padding: 0; min-height: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.tp-hero__actions > .ats-btn-secondary:not([data-tp-save]):hover { color: var(--color-accent-2); background: none; }
.tp-hero__actions > [data-tp-save] { padding: 0.9rem 1.5rem; }
.tp-share { gap: 0.5rem; }
.tp-share__label { font-size: var(--text-sm); }
.tp-share__btn { width: 2.25rem; height: 2.25rem; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; font-size: 0 !important; line-height: 1; color: var(--color-text-secondary); }
.tp-share__btn::before { font-size: 0.8125rem; font-weight: 700; line-height: 1; }
.tp-share__btn[aria-label*="X"]::before { content: "X"; }
.tp-share__btn[aria-label*="Facebook"]::before { content: "f"; font-size: 1rem; }
.tp-share__btn[aria-label*="LinkedIn"]::before { content: "in"; }
.tp-share__btn[data-tp-copylink]::before { content: "\1F517"; font-size: 0.875rem; filter: grayscale(1); }
.tp-share__btn:hover { background: var(--color-accent-2-soft); color: var(--color-accent-2); border-color: transparent; }
.tp-disclosure { font-size: var(--text-xs); }
@media (max-width: 960px) { .tp-hero { padding: var(--space-3); } }
@media (max-width: 600px) { .tp-hero__actions > .ats-btn-secondary:not([data-tp-save]) { flex: 0 0 auto; } .tp-hero__actions > [data-tp-save] { flex: 1 1 auto; } }
@media (min-width: 961px) {
  .tp-hero__actions { gap: 0.5rem 0.875rem; }
  .tp-hero__actions .tp-cta, .tp-hero__actions > [data-tp-save] { padding: 0.8rem 1.25rem; }
  .tp-hero__actions > .ats-btn-secondary:not([data-tp-save]) { white-space: nowrap; font-size: 0.8125rem; }
}
@media (min-width: 961px) { .tp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } .tp-hero__actions { gap: 0.5rem 0.75rem; } }

/* ---- Round 2: purple second accent, white cards, Lucide icons ---- */
.tp-section > h2 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tp-section > h2::before { flex: 0 0 100%; width: auto; background: linear-gradient(90deg, var(--color-accent) 0 1.1rem, var(--color-accent-2) 1.1rem 2.2rem) no-repeat; background-size: 2.2rem 100%; }
.tp-feature__n { color: var(--color-accent-2-hover); }
.tp-band__head h2 { display: flex; align-items: center; gap: .6rem; }
.tp-card__title { display: flex; align-items: center; gap: .5rem; color: var(--color-accent-2); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tp-facts dt { display: inline-flex; align-items: center; gap: .45rem; }
.tp-facts dt .ats-icon { color: var(--color-accent-2); }
.tp-links a { align-items: center; color: var(--color-accent-2); }
.tp-links a:hover { color: var(--color-accent-2-hover); }
.tp-links .ats-icon { color: var(--color-accent-2); flex: none; }
.tp-pc__col { background: var(--color-surface); box-shadow: var(--shadow-card); border-color: transparent; }
.tp-pc__col--pros { border-top: 3px solid var(--color-success); }
.tp-pc__col--cons { border-top: 3px solid var(--color-warn); }
.tp-pc li { display: flex; gap: .55rem; padding-left: 0; }
.tp-pc li::before { content: none !important; }
.tp-pc .ats-pc-icon { flex: none; margin-top: .15rem; }
.tp-pc__col--pros .ats-pc-icon { color: var(--color-success-ink); }
.tp-pc__col--cons .ats-pc-icon { color: var(--color-warn-ink); }
.tp-table thead th, .tp-tablewrap thead th { background: var(--color-surface); color: var(--color-accent-2); border-bottom: 2px solid var(--color-accent-2-tint); }
.tp-faq summary:hover { background: var(--color-hover); }
.tp-hero { background: var(--color-surface); box-shadow: var(--shadow-raised); position: relative; overflow: hidden; }
.tp-hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgb(120 41 180 / 10%), transparent 70%), radial-gradient(closest-side at 70% 60%, rgb(255 96 54 / 9%), transparent 70%); pointer-events: none; }
.tp-hero > * { position: relative; }
.tp-nav a:hover { color: var(--color-accent-2); }
.tp-alt__rank, .tp-steps li::before { background: var(--color-accent-2-soft); color: var(--color-accent-2-hover); }
.tp-faq, .tp-faq details { background: var(--color-surface); }

/* Links rows: fixed columns (logo | label), so rows without a logo keep the same layout */
.tp-links a { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: .6rem; align-items: center; }
.tp-links a > :first-child:not(.ats-logo):not(svg):not(img):not(.ats-plat__logo) { grid-column: 2; }
.tp-links a > span:last-child, .tp-links a > :nth-child(2) { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: .5rem; text-align: right; }
.tp-links a:not(.ats-plat) { grid-template-columns: minmax(0, 1fr) auto; }

/* Hero v4: identity + answer + CTA on the left, screenshot on the right (both top-aligned);
   fact cards and tags become full-width rows underneath. Must stay last. */
.tp-hero { align-items: start; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding: var(--space-4) var(--container-pad); gap: var(--space-3) var(--space-6); }
.tp-hero__main { align-self: start; }
.tp-hero__shot { position: static; align-self: start; }
.tp-hero__shot .tp-hero__shotlink, .tp-hero__shot .tp-ph { width: 100%; }
.tp-hero > .tp-keyfacts, .tp-hero > .tp-badges { grid-column: 1 / -1; }
.tp-hero > .tp-keyfacts {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin: 0;
  padding: 1rem 0 0; border-top: 1px solid var(--color-border);
}
.tp-hero .tp-keyfacts .tp-fact {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico dt" "ico dd"; column-gap: 0.75rem; row-gap: 0.1rem; align-items: center;
  padding: 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); min-width: 0;
}
.tp-keyfacts .ats-chip-icon { grid-area: ico; }
.tp-hero .tp-keyfacts dt { grid-area: dt; align-self: end; font-size: var(--text-xs); }
.tp-hero .tp-keyfacts dd { grid-area: dd; align-self: start; font-size: var(--text-sm); font-weight: 600; line-height: 1.35; }
.tp-hero > .tp-badges { margin: 0 !important; }
.tp-soc a { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; }
.tp-soc .ats-logo { --ats-logo-size: 18px; }
@media (max-width: 1279px) { .tp-hero > .tp-keyfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .tp-hero > .tp-keyfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr); }
  .tp-hero > .tp-keyfacts { order: 9; } .tp-hero > .tp-badges { order: 10; }
}
@media (max-width: 600px) {
  .tp-hero > .tp-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .tp-hero .tp-keyfacts .tp-fact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ico" "dt" "dd"; row-gap: 0.15rem; padding: 0.7rem; }
  .tp-keyfacts .ats-chip-icon { width: 2rem; height: 2rem; border-radius: 0.6rem; margin-bottom: 0.2rem; }
}

/* Hero meta strip (added-on, social, save, share): one wrapped row under the hero pair, no empty column space */
.tp-hero > .tp-hero__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-top: 0.25rem; }
.tp-hero__meta .tp-hfacts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; border: 0; margin: 0; }
.tp-hero__meta .tp-hfacts > div { display: flex; align-items: center; gap: 0.6rem; padding: 0; border: 0; grid-template-columns: none; }
.tp-hero__meta .tp-hfacts dt, .tp-hero__meta .tp-hfacts dd { font-size: var(--text-sm); }
.tp-hero__meta .tp-hero__actions { margin: 0; }
.tp-hero__meta .tp-share { margin-left: auto; }
.tp-hero__meta .tp-disclosure { flex-basis: 100%; margin: 0; }
.tp-hero .tp-keyfacts .ats-chip-icon { align-self: center; }
@media (max-width: 960px) { .tp-hero > .tp-hero__meta { order: 6; } .tp-hero__meta .tp-share { margin-left: 0; } }

/* Icon-led blocks: features, use cases, FAQ, company */
.tp .tp-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; align-items: start; padding: 1rem; }
.tp .tp-feature .ats-chip-icon { grid-row: 1 / span 2; }
.tp .tp-feature p { grid-column: 2; }
.tp .tp-usecases li { display: inline-flex; align-items: center; gap: 0.45rem; }
.tp .tp-usecases li .ats-icon { color: var(--color-accent-2); flex: none; }
.tp .tp-faq__item summary { display: flex; align-items: flex-start; gap: 0.6rem; }
.tp .tp-faq__item summary .ats-faq-icon { color: var(--color-accent-2); margin-top: 0.15rem; flex: none; }
.tp .tp-company dt { display: inline-flex; align-items: center; gap: 0.45rem; width: 10rem; }
.tp .tp-company dt .ats-icon { color: var(--color-accent-2); flex: none; }
.tp-section > h2 { display: flex; align-items: center; gap: 0.6rem; }
@media (max-width: 767px) { .tp .tp-company dt { width: auto; } }

/* 1024-ish: screenshot no longer leaves a void; main column and shot share the row, shot stretches */
@media (min-width: 961px) and (max-width: 1279px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .tp-hero__shot { align-self: stretch; display: flex; }
  .tp-hero__shotlink { display: flex; width: 100%; }
  .tp-hero__shotlink img, .tp-hero__shot .tp-ph { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top center; min-height: 100%; }
  .tp-hero__shot .tp-ph { width: 100%; }
}

/* ==========================================================================================================================
   Tool page v3 (2026-12): hero on the page, two-column body, best/not-for cards, traffic redesign, vs cards, alternative logos.
   Last in the file on purpose: it settles the earlier layered overrides.
   ========================================================================================================================== */

/* Hero: no card, no shadow; logo and H1 share one centred line; byline + badge align to the logo's left edge */
.tp-hero { background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: var(--space-3) 0 var(--space-2); }
.tp-hero::before { display: none; }
.tp-hero__id { display: grid; justify-items: start; align-content: start; gap: 0.5rem; flex-direction: initial; min-width: 0; }
.tp-hero__head { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.tp-hero__head .tp-logo { width: 56px; height: 56px; flex: none; border-radius: 16px; }
.tp-hero__title { min-width: 0; margin: 0; line-height: 1.1; overflow-wrap: anywhere; }
.tp-hero__id > .eeat-byline, .tp-hero__id > .ats-tbs { margin: 0; }
@media (max-width: 600px) { .tp-hero__id { flex-direction: initial; } .tp-hero { padding-inline: 0; } .tp-hero__title { font-size: clamp(1.6rem, 7vw, 2rem); } }

/* In-page nav: compact so Overview … FAQ fits; the active tab scrolls into view on small screens */
.tp-nav a { padding-inline: 0.7rem; }
.tp-nav ul { gap: 0; }

/* Two-column body: main + sidebar from the first section to the end. Module stack on top, the Visit card follows the reader. */
.tp-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; }
.tp-side { position: sticky; top: var(--tp-side-top, 8.5rem); align-self: start; display: flex; flex-direction: column; gap: var(--space-2); }
.admin-bar .tp-side { top: var(--tp-side-top, 10.5rem); }
.tp-side > * { flex: none; }
.tp-report { margin: 0; font-size: var(--text-sm); }
@media (max-width: 1023px) {
  .tp-layout { grid-template-columns: minmax(0, 1fr); }
  .tp-side { position: static; }
}
/* Readable measure for running text; tables, charts and cards use the full main width */
.tp-section p, .tp-prose p, .tp-prose ul, .tp-prose ol, .tp-faq p, .tp-section .pl-answer__text { max-width: 760px; }
.tp-prose { max-width: none; }
.tp-prose > h2, .tp-prose > h3, .tp-prose > h4 { max-width: 760px; }

/* Best for / Not for: scannable like pros and cons */
.tp-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-2); }
.tp-fit__col { padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); border-top: 4px solid var(--fit); --fit: var(--color-success); }
.tp-fit__col--not { --fit: var(--color-danger); }
.tp-fit__col h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 var(--space-1); font-size: var(--text-lg); font-weight: 700; color: var(--fit); }
.tp-fit__col ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.tp-fit__col li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--text-base); line-height: 1.5; color: var(--color-text-primary); }
.tp-fit__ico { flex: none; margin-top: 0.15rem; color: var(--fit); }
@media (max-width: 767px) { .tp-fit { grid-template-columns: minmax(0, 1fr); } }

/* Alternatives: logo + name + reason */
.tp-altlist { padding: 0; list-style: none; max-width: 52rem; }
.tp-alt { display: flex; align-items: center; gap: 0.9rem; }
.tp-alt__logo { flex: none; }
.tp-alt__txt { display: grid; gap: 0.1rem; min-width: 0; }
.tp-alt__name { font-weight: 700; color: var(--color-text-primary); text-decoration: none; }
.tp-alt__name:hover { color: var(--color-accent-2); text-decoration: underline; }
.tp-alt__why { font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-secondary); }

/* vs: compare cards + mini comparison table */
.tp-vs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.tp-vs__card { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); color: var(--color-text-primary); text-decoration: none; transition: box-shadow 0.15s ease; }
.tp-vs__card:hover, .tp-vs__card:focus-visible { box-shadow: var(--shadow-card-hover); }
.tp-vs__logos { display: inline-flex; align-items: center; gap: 0.35rem; flex: none; }
.tp-vs__x { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; }
.tp-vs__title { flex: 1; min-width: 0; font-weight: 650; line-height: 1.3; }
.tp-vs__go { flex: none; color: var(--color-accent-2); }
.tp-mini__tool { display: inline-flex; align-items: center; gap: 0.55rem; }
.tp-mini .pl-table td, .tp-mini .pl-table th { vertical-align: middle; }
.tp-mini td { font-size: var(--text-sm); }

/* Traffic: no drop shadows on chart or table boxes; clean aligned tables with inline share bars */
.tp-an, .tp-an figure, .tp-an .tp-tbl, .tp-an .pl-table-wrap, .tp-an .tp-table-wrap, .tp-an__stats { box-shadow: none; }
.tp-an__top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-4); }
@media (max-width: 900px) { .tp-an__top, .tp-an__cols { grid-template-columns: minmax(0, 1fr); } }
.tp-tbl { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); overflow-x: auto; }
.tp-an .tp-an__stats.tp-tbl { display: block; padding: 0; max-width: none; border: 1px solid var(--color-border); background: var(--color-surface); }
.tp-sh { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tp-sh th, .tp-sh td { padding: 0.7rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-border); background: none; }
.tp-sh thead th { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border-strong); }
.tp-sh tbody tr:last-child > * { border-bottom: 0; }
.tp-sh tbody th { font-weight: 600; color: var(--color-text-primary); white-space: nowrap; }
.tp-sh .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.tp-sh--metrics td { font-weight: 700; }
.tp-sh__cell { display: grid; grid-template-columns: minmax(56px, 1fr) 3.6rem; align-items: center; gap: 0.75rem; }
.tp-sh__bar { display: block; height: 0.5rem; border-radius: 999px; background: var(--color-wash); overflow: hidden; }
.tp-sh__bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--chart-1); }
.tp-sh__num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-sh__na { color: var(--color-text-muted); }
.tp-an .tp-sh th:last-child, .tp-an .tp-sh td:last-child { text-align: right; }
.tp-an .tp-sh tbody th:last-child { text-align: left; }
.tp-an .tp-sh--kw td { text-align: right; }
.tp-an .tp-sh--kw td:first-of-type .tp-sh__cell { text-align: left; }
.tp-an__cols h3, .tp-kw h3 { text-transform: none; letter-spacing: 0; font-size: var(--text-lg); color: var(--color-text-primary); }

/* Visits over time: L-shaped axis, gridlines, value label on the latest bar, tooltip on every bar */
.tp-vc { --vc-h: 220px; }
.tp-vc__plot { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0.4rem; padding: 0.25rem 0.5rem 1.9rem 0; }
.tp-vc__y { position: relative; height: var(--vc-h); }
.tp-vc__y span { position: absolute; right: 0; bottom: var(--y); transform: translateY(50%); font-size: 0.6875rem; line-height: 1; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.tp-vc__area { position: relative; height: var(--vc-h); border-left: 1px solid var(--color-border-strong); border-bottom: 1px solid var(--color-border-strong); }
.tp-vc__grid i { position: absolute; left: 0; right: 0; bottom: var(--y); border-top: 1px dashed var(--color-border); }
.tp-vc__cols { position: absolute; inset: 0; display: flex; align-items: stretch; gap: clamp(3px, 1.1%, 10px); margin: 0; padding: 0 0.5rem; list-style: none; }
.tp-vc__col { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px; outline: none; cursor: default; }
.tp-vc__bar { display: block; width: 100%; height: var(--h); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--chart-3); transition: background-color 0.12s ease; }
.tp-vc__col.is-last .tp-vc__bar { background: var(--chart-1); }
.tp-vc__col:hover .tp-vc__bar, .tp-vc__col:focus-visible .tp-vc__bar { background: var(--color-accent-2); }
.tp-vc__col:focus-visible { box-shadow: 0 0 0 2px var(--color-accent-2); }
.tp-vc__val { position: absolute; left: 50%; bottom: calc(var(--h) + 4px); transform: translateX(-50%); font-size: 0.75rem; font-weight: 700; line-height: 1; color: var(--color-text-primary); white-space: nowrap; pointer-events: none; }
.tp-vc__x { position: absolute; top: calc(100% + 0.45rem); left: 50%; transform: translateX(-50%); font-size: 0.6875rem; line-height: 1; color: var(--color-text-muted); white-space: nowrap; pointer-events: none; }
.tp-vc__tip { position: absolute; bottom: calc(var(--h) + 1.5rem); left: 50%; transform: translateX(-50%); z-index: 5; padding: 0.4rem 0.65rem; border-radius: 8px; background: var(--color-text-primary); color: #fff; font-size: 0.75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.12s ease; }
.tp-vc__col:hover .tp-vc__tip, .tp-vc__col:focus .tp-vc__tip, .tp-vc__col:focus-visible .tp-vc__tip { opacity: 1; visibility: visible; }
.tp-vc__col:nth-child(-n+2) .tp-vc__tip { left: 0; transform: none; }
.tp-vc__col:nth-last-child(-n+2) .tp-vc__tip { left: auto; right: 0; transform: none; }
@media (max-width: 640px) {
  .tp-vc { --vc-h: 180px; }
  .tp-vc__plot { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .tp-vc__cols { padding: 0 0.25rem; }
  .tp-vc__col:not(:nth-last-child(2n+1)) .tp-vc__x { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tp-vc__bar, .tp-vc__tip { transition: none; } }
.tp-alt { padding: 0.75rem 1rem; }

/* Alternatives list boxes: real inner padding (the generic .tp-altlist li rule zeroed it), aligned logo and text, equal heights */
.tp-altlist { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--space-2); }
.tp-altlist .tp-alt { padding: 1rem 1.25rem; min-height: 5.25rem; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); }
.tp-altlist .tp-alt__logo { flex: none; margin: 0; }
.tp-altlist .tp-alt__txt { align-self: center; }
