/* Shared semantic accents: topics, access, price, and attention. */
body { --tone-violet: #544b68; --tone-green: #356c55; --tone-amber: #79531f; }
:root[data-theme="dark"] body { --tone-violet: #e0d9eb; --tone-green: #b9dfca; --tone-amber: #f1d4a5; }
[data-topic-tone] { --topic-tone: var(--accent); }
:root[data-theme="dark"] [data-topic-tone] { --topic-tone: color-mix(in srgb, var(--accent) 75%, white); }
:root [data-topic-tone="image"], :root [data-topic-tone="video"], :root[data-theme="dark"] [data-topic-tone="image"], :root[data-theme="dark"] [data-topic-tone="video"] { --topic-tone: var(--tone-violet); }
:root[data-theme] body main .seo-category-card {
  --content-card-bg: color-mix(in srgb, var(--topic-tone) 22%, var(--surface));
  --content-card-border: color-mix(in srgb, var(--topic-tone) 46%, var(--surface));
}
:root[data-theme] body main .seo-category-card .card-topic-icon,
:root[data-theme] body main .catalog-review-card .tag[data-topic-tone] {
  background: color-mix(in srgb, var(--topic-tone) 9%, var(--surface));
  color: var(--topic-tone);
  border-color: color-mix(in srgb, var(--topic-tone) 30%, var(--surface));
}
:root[data-theme] body main .catalog-review-card .tag[data-topic-tone]:is(:hover, :focus-visible) {
  background: var(--topic-tone); color: var(--surface);
}
:root[data-theme] body main .catalog-review-card .access-fact dd {
  display: inline-block; padding: 4px 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--tone-green) 10%, var(--surface));
  color: var(--tone-green);
}
:root[data-theme] body main .hero-focus .focus-label {
  width: fit-content; padding: 6px 10px; border-radius: 7px;
  color: var(--tone-violet); background: color-mix(in srgb, var(--tone-violet) 12%, var(--surface));
}
.home .home-free-accent { background: color-mix(in srgb, var(--accent) 3%, var(--paper)); }
.home .home-compare-accent { background: color-mix(in srgb, var(--tone-violet) 3%, var(--paper)); }
:root[data-theme] body main .home-free-accent .catalog-review-card {
  --content-card-bg: color-mix(in srgb, var(--accent) 22%, var(--surface));
  --content-card-border: color-mix(in srgb, var(--accent) 46%, var(--surface));
}
:root[data-theme] body main .home-compare-accent .blog-card {
  --content-card-bg: color-mix(in srgb, var(--tone-violet) 22%, var(--surface));
  --content-card-border: color-mix(in srgb, var(--tone-violet) 46%, var(--surface));
}
:root[data-theme] body main .home-compare-accent .comparison-art {
  background: color-mix(in srgb, var(--tone-violet) 10%, var(--surface));
}

/* A small accent identifies the fact; the main copy remains neutral. */
:root[data-theme] body main .seo-filters label { color: var(--ink); }
:root[data-theme] body main :is(.review-structure__kicker a[data-topic-tone], .seo-chip[data-topic-tone], .category-directory__icon) {
  background: color-mix(in srgb, var(--topic-tone) 10%, var(--surface));
  color: var(--topic-tone);
  border-color: color-mix(in srgb, var(--topic-tone) 30%, var(--surface));
}
:root[data-theme] body main :is(.review-structure__kicker a[data-topic-tone], .seo-chip[data-topic-tone]):is(:hover, :focus-visible) {
  background: var(--topic-tone); color: var(--surface);
}
:root[data-theme] body main .review-structure__facts .access-fact {
  background: color-mix(in srgb, var(--tone-green) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--tone-green) 30%, var(--surface));
}
:root[data-theme] body main .review-structure__facts .access-fact dd { color: var(--tone-green); }
:root[data-theme] body main :is(.price-fact dd, .review-structure__price) { color: var(--tone-violet); font-weight: 700; }
:root[data-theme] body main :is(.card-rating, .review-structure__rating) {
  color: var(--tone-amber); background: color-mix(in srgb, var(--tone-amber) 10%, var(--surface));
}
:root[data-theme] body main .attention-note {
  padding: 10px 12px; border-radius: 8px;
  color: var(--ink); background: color-mix(in srgb, var(--tone-amber) 10%, var(--surface));
}
:root[data-theme] body main #review-limits .review-structure__direct {
  background: color-mix(in srgb, var(--tone-amber) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--tone-amber) 32%, var(--surface));
}
:root[data-theme] body main .seo-summary {
  background: color-mix(in srgb, var(--tone-violet) 9%, var(--surface));
}
:root[data-theme] body main .seo-summary :is(h2, h3),
:root[data-theme] body main #review-limits h2 { color: var(--ink); }
:root[data-theme] body main .seo-table-scroll th {
  background: color-mix(in srgb, var(--tone-violet) 9%, var(--surface));
}
:root[data-theme] body main #verdict .seo-pair-card {
  background: color-mix(in srgb, var(--tone-violet) 22%, var(--surface));
  border-color: color-mix(in srgb, var(--tone-violet) 46%, var(--surface));
}

/* Compact category headings and a clearly grouped footer. */
:root[data-theme] body main .seo-category-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto; align-items: center; gap: 16px 14px;
}
:root[data-theme] body main .seo-category-card .card-topic-icon {
  width: 44px; height: 44px; margin: 0; border-radius: 12px;
}
:root[data-theme] body main .seo-category-card h3 { margin: 0; }
:root[data-theme] body main .seo-category-card > p {
  grid-column: 1 / -1; align-self: start; margin: 0;
}
:root[data-theme] body main .category-card__footer {
  grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
:root[data-theme] body main .seo-category-card .seo-category-count {
  margin: 0; padding: 5px 9px; border-radius: 6px; font-size: 12px;
  color: var(--topic-tone); background: color-mix(in srgb, var(--topic-tone) 10%, var(--surface));
}
:root[data-theme] body main .category-card__footer .blog-card-more { margin: 0; padding: 0; }

/* Facts have their own surfaces, so they remain distinct on card hover. */
:root[data-theme] body main .catalog-review-card .seo-card-meta {
  margin: 0; gap: 10px; line-height: 1.5;
}
:root[data-theme] body main .catalog-review-card .seo-card-meta > :is(.access-fact, .price-fact) {
  padding: 12px 14px; border-radius: 10px; min-width: 0;
  border: 1px solid color-mix(in srgb, var(--fact-tone) 44%, var(--surface));
  background: color-mix(in srgb, var(--fact-tone) 16%, var(--surface));
}
.access-fact { --fact-tone: var(--tone-green); }
.price-fact { --fact-tone: var(--tone-violet); }
:root[data-theme] body main .catalog-review-card .seo-card-meta dt { color: var(--ink); font-size: 12px; }
:root[data-theme] body main .catalog-review-card .seo-card-meta :is(.access-fact, .price-fact) dd {
  display: block; padding: 0; margin-top: 5px; background: transparent;
  color: var(--fact-tone); font-weight: 700; overflow-wrap: anywhere;
}
:root[data-theme] body main .catalog-review-card .price-fact dd { font-size: 17px; }
:root[data-theme] body main .catalog-review-card .checked-fact {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; padding: 8px 0 0;
}
:root[data-theme] body main .catalog-review-card .checked-fact dt { display: flex; align-items: center; gap: 7px; }
:root[data-theme] body main .catalog-review-card .checked-fact svg { width: 16px; height: 16px; }
:root[data-theme] body main .catalog-review-card .checked-fact dd {
  padding: 4px 9px; border-radius: 6px; font-variant-numeric: tabular-nums;
  color: var(--ink); background: var(--surface); font-weight: 600;
}
:root[data-theme] body main .catalog-review-card .card-info h3 { margin-bottom: 8px; }
:root[data-theme] body main .catalog-review-card .seo-card-note { margin: 0; }
:root[data-theme] body main .catalog-review-card .card-rating.standard-rating {
  color: var(--tone-amber); background: color-mix(in srgb, var(--tone-amber) 10%, var(--surface));
}
:root[data-theme] body main .collection-card.card { min-height: 0; }
:root[data-theme] body main .collection-card .card-body { gap: 16px; }
:root[data-theme] body main .collection-card .card-items { min-height: 0; margin: 0; }
:root[data-theme] body main .collection-card .collection-open { padding-top: 14px; }
@media (max-width: 420px) {
  :root[data-theme] body main .catalog-review-card .seo-card-meta { grid-template-columns: 1fr; }
}

/* Shared card hierarchy: content type, useful metadata, then a quiet action row. */
:root[data-theme] body main :is(.collection-card.card, .blog-card, .practice-card, .update-card) {
  --card-detail-tone: var(--tone-violet);
  --content-card-bg: color-mix(in srgb, var(--card-detail-tone) 22%, var(--surface));
  --content-card-border: color-mix(in srgb, var(--card-detail-tone) 46%, var(--surface));
}
:root[data-theme] body main :is(a.practice-card, a.update-card, article.home-promo) { --card-detail-tone: var(--tone-green); }
:root[data-theme] body main .card-kicker {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 8px 12px; margin-bottom: 16px; width: 100%;
}
:root[data-theme] body main :is(.card-kind, .card-meta__type) {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.5;
  color: var(--card-detail-tone, var(--tone-violet));
  background: color-mix(in srgb, var(--card-detail-tone, var(--tone-violet)) 12%, var(--surface));
}
:root[data-theme] body main .card-kind svg { width: 16px; height: 16px; flex-shrink: 0; }
:root[data-theme] body main .card-count {
  font-size: 12px; font-weight: 600; color: var(--ink);
  padding: 5px 9px; border-radius: 6px; background: var(--surface);
}
:root[data-theme] body main .collection-card .card-header { display: block; }
:root[data-theme] body main .collection-card .card-items {
  padding: 12px; border-radius: 10px; gap: 8px;
  background: color-mix(in srgb, var(--tone-violet) 5%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--tone-violet) 22%, var(--surface));
}
:root[data-theme] body main .collection-card .card-items:empty { display: none; }
:root[data-theme] body main .card-meta { gap: 8px 12px; margin-bottom: 16px; }
:root[data-theme] body main .card-meta > span:has(time) {
  padding: 5px 8px; border-radius: 6px; background: var(--surface); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
:root[data-theme] body main .card-meta > span { color: var(--ink); }
:root[data-theme] body main .blog-card-body .blog-card-more {
  display: block; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line);
}
:root[data-theme] body main .blog-card-body > p { margin-bottom: 18px; }
:root[data-theme] body main .comparison-art {
  background: color-mix(in srgb, var(--tone-violet) 12%, var(--surface));
}
:root[data-theme] body main .comparison-versus {
  color: var(--tone-violet); background: var(--surface); border-radius: 50%; padding: 8px;
}
:root[data-theme] body main .blog-card .seo-chip {
  color: var(--tone-violet); background: color-mix(in srgb, var(--tone-violet) 10%, var(--surface));
}
:root[data-theme] body main :is(.practice-card, .update-card) > .card-kind { margin-bottom: 14px; }
:root[data-theme] body main .practice-card > .blog-card-more {
  display: block; padding-top: 14px; margin-top: 18px; border-top: 1px solid var(--line);
}
:root[data-theme] body main .home-promo__checked {
  width: fit-content; padding: 5px 9px; border-radius: 6px; color: var(--ink); background: var(--surface);
}
:root[data-theme] body main .seo-methodology { counter-reset: method; }
:root[data-theme] body main .seo-methodology > article::before {
  counter-increment: method; content: counter(method, decimal-leading-zero);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 10px; color: var(--tone-violet); font-weight: 700;
  background: color-mix(in srgb, var(--tone-violet) 12%, var(--surface));
}
:root[data-theme] body main :is(.seo-featured, .feature-card-wide) > .theme-eyebrow {
  display: inline-flex; width: fit-content; padding: 5px 9px; margin-bottom: 14px;
  border-radius: 6px; color: var(--tone-violet);
  background: color-mix(in srgb, var(--tone-violet) 10%, var(--surface));
}

/* Stronger landmarks against the tinted card; hover still uses the shared surface. */
:root[data-theme] body main :is(.card-kind, .card-meta > .card-meta__type) {
  background: var(--card-detail-tone, var(--tone-violet));
  color: var(--surface);
}
:root[data-theme] body main .seo-category-card .card-topic-icon {
  background: var(--topic-tone); color: var(--surface); border-color: transparent;
}
:root[data-theme] body main .collection-card .card-items {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--tone-violet) 40%, var(--surface));
}
:root[data-theme] body main :is(.category-card__footer, .collection-open, .blog-card-body .blog-card-more, .practice-card > .blog-card-more) {
  border-top-color: color-mix(in srgb, var(--ink) 24%, var(--surface));
}
:root[data-theme] body main .seo-methodology > article::before {
  background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body main .blog-card .blog-card-body .card-meta > .card-meta__type {
  color: var(--surface);
}

/* The lead review shares the same fact hierarchy as the catalog. */
:root[data-theme] body main .hero-focus .focus-label {
  background: var(--tone-violet); color: var(--surface); margin-bottom: 20px;
}
:root[data-theme] body main .hero-focus .focus-label svg { color: inherit; }
:root[data-theme] body main .hero-focus .focus-facts {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  width: 100%; gap: 10px; margin: 20px 0 0; padding: 0; border: 0;
}
:root[data-theme] body main .hero-focus .focus-facts > div {
  min-width: 0; padding: 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--fact-tone) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--fact-tone) 44%, var(--surface));
}
:root[data-theme] body main .hero-focus .focus-facts dt { color: var(--ink); font-size: 12px; }
:root[data-theme] body main .hero-focus .focus-facts dd {
  color: var(--fact-tone); margin: 7px 0 0; font-size: 16px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere;
}
:root[data-theme] body main .hero-focus .price-fact dd { font-size: 16px; }
:root[data-theme] body main .hero-focus .focus-checked {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; font-size: 12px; color: var(--ink);
}
:root[data-theme] body main .focus-checked > span { display: inline-flex; align-items: center; gap: 7px; }
:root[data-theme] body main .focus-checked svg { width: 16px; height: 16px; }
:root[data-theme] body main .focus-checked strong {
  padding: 5px 9px; background: var(--surface); border-radius: 6px; font-variant-numeric: tabular-nums;
}
:root[data-theme] body main .hero-focus .focus-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--ink) 24%, var(--surface));
  text-decoration: none;
}
:root[data-theme] body main .hero-focus .focus-facts + .focus-link { margin-top: 20px; }
@media (max-width: 420px) {
  :root[data-theme] body main .hero-focus .focus-facts { grid-template-columns: 1fr; }
}
:root[data-theme] body main #hero .hero-focus .focus-label { color: var(--surface); margin-bottom: 0; }
:root[data-theme] body main #hero .hero-focus .focus-label svg { color: inherit; }
:root[data-theme] body main .hero-focus .focus-facts { margin-top: 0; }
:root[data-theme] body main .hero-focus .focus-checked { margin: 0; }

/* Keep the verification label and its date together as one visible status. */
:root[data-theme] body main .catalog-review-card .checked-fact,
:root[data-theme] body main .hero-focus .focus-checked {
  width: fit-content; max-width: 100%; justify-content: flex-start;
  gap: 6px 12px; padding: 10px 12px; border-radius: 8px;
  background: var(--tone-green); color: var(--surface);
}
:root[data-theme] body main .catalog-review-card .checked-fact dt,
:root[data-theme] body main .catalog-review-card .checked-fact dd,
:root[data-theme] body main #hero .hero-focus .focus-checked > span,
:root[data-theme] body main #hero .hero-focus .focus-checked strong {
  color: var(--surface); background: transparent; padding: 0; margin: 0;
  font-size: 12px; line-height: 1.5;
}
:root[data-theme] body main .catalog-review-card .checked-fact dt,
:root[data-theme] body main .hero-focus .focus-checked > span { font-weight: 600; }
:root[data-theme] body main .catalog-review-card .checked-fact svg,
:root[data-theme] body main .hero-focus .focus-checked svg { color: inherit; }
:root[data-theme] body main .catalog-review-card .seo-card-meta .checked-fact dt,
:root[data-theme] body main .catalog-review-card .seo-card-meta .checked-fact dd {
  color: var(--surface);
}

/* Edge-to-edge covers share the card outline instead of drawing a second frame. */
:root[data-theme] body main .blog-card .blog-card-link > img {
  border: 0;
  border-bottom: 1px solid var(--content-card-border, var(--line));
  border-radius: 0;
  box-shadow: none;
}
:root[data-theme] body main .blog-card { overflow: hidden; }
:root[data-theme] body main .blog-card .card-meta > span:not(.card-meta__type) {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 8px; border-radius: 6px; background: var(--surface);
  color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.5;
}
:root[data-theme] body main .blog-card .card-meta > span:not(.card-meta__type) svg {
  color: inherit; width: 16px; height: 16px; flex-shrink: 0;
}

/* Separate badges stay adjacent when metadata wraps. */
:root[data-theme] body main .card-meta { column-gap: 8px; }
:root[data-theme] body main .card-meta > .card-meta__stats {
  display: inline-flex; flex-wrap: nowrap; gap: 8px; white-space: nowrap;
}
.card-meta__reading { display: inline-flex; align-items: center; gap: 6px; }
:root[data-theme] body main .blog-card .blog-card-body .card-meta > .card-meta__stats {
  padding: 0; background: transparent; gap: 8px;
}
:root[data-theme] body main .blog-card .card-meta__stats > span {
  padding: 5px 8px; border-radius: 6px; background: var(--surface); color: var(--ink);
}

/* Numbered FAQ rows with a distinct answer area and a clear toggle. */
:root[data-theme] body main .seo-faq details {
  padding: 0; overflow: hidden; box-shadow: none;
}
:root[data-theme] body main .seo-faq summary {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 0;
}
:root[data-theme] body main .seo-faq summary::after { content: none; }
:root[data-theme] body main .seo-faq .faq-number {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px;
  border-radius: 9px; font-size: 13px; font-variant-numeric: tabular-nums;
  background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body main .seo-faq .faq-question-text { flex: 1; min-width: 0; }
:root[data-theme] body main .seo-faq .faq-disclosure-icon {
  position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--surface); color: var(--ink);
}
.seo-faq .faq-disclosure-icon::before, .seo-faq .faq-disclosure-icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 1px;
  width: 12px; height: 2px; top: 14px; left: 9px;
}
.seo-faq .faq-disclosure-icon::after { transform: rotate(90deg); }
.seo-faq details[open] .faq-disclosure-icon::after { display: none; }
:root[data-theme] body main .seo-faq details[open] { border-color: var(--accent); }
:root[data-theme] body main .seo-faq details > .theme-prose {
  width: 100%; max-width: none; box-sizing: border-box;
  margin: 0; padding: 20px 24px 22px 76px;
  background: var(--surface); color: var(--ink);
  border-top: 1px solid var(--content-card-border);
}
:root[data-theme] body main .seo-faq summary:is(:hover, :focus-visible) { background: var(--surface); }
:root[data-theme] body main .seo-faq summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 10px;
}
@media (max-width: 600px) {
  :root[data-theme] body main .seo-faq summary { gap: 12px; padding: 16px; }
  :root[data-theme] body main .seo-faq details > .theme-prose { padding: 18px 16px; }
}

/* Access is a descriptive label; give it room without enlarging the price row. */
:root[data-theme] body main .hero-focus .focus-facts .access-fact dd {
  font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: normal;
}
.hero-focus { container-type: inline-size; container-name: lead-review; }
@container lead-review (max-width: 330px) {
  :root[data-theme] body main .hero-focus .focus-facts { grid-template-columns: 1fr; }
}
/* Separate each service link from the inset collection panel. */
:root[data-theme] body main .collection-card.card .card-item {
  background: color-mix(in srgb, var(--ink) 14%, var(--surface));
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 32%, var(--surface));
}
:root[data-theme="dark"] body main .collection-card.card .card-item {
  background: color-mix(in srgb, var(--ink) 82%, var(--surface));
  color: var(--surface);
  border-color: transparent;
}
:root[data-theme] body main .collection-card.card .card-item .item-name { color: inherit; }
:root[data-theme] body main .collection-card.card .card-item:is(:hover, :focus-visible) {
  background: var(--ink); color: var(--surface); border-color: var(--ink);
}

/* One full-width action divider for all content-card families. */
:root[data-theme] body main :is(
  .collection-card.card .collection-open,
  .blog-card .blog-card-body .blog-card-more,
  .catalog-review-card .card-body .btn-action,
  .practice-card > .blog-card-more,
  .hero-focus .focus-link,
  .home-author .seo-author__link,
  .seo-category-card .category-card__footer
) {
  box-sizing: border-box; width: 100%; max-width: none; align-self: stretch;
  border-top: 1px solid color-mix(in srgb, var(--ink) 65%, var(--surface));
  padding-top: 16px;
}

/* Animate both layers of the FAQ hover, including the question's own fill. */
@media (prefers-reduced-motion: no-preference) {
  :root[data-theme] body main .seo-faq details,
  :root[data-theme] body main .seo-faq summary,
  :root[data-theme] body main .seo-faq .faq-disclosure-icon {
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme] body main .seo-faq details,
  :root[data-theme] body main .seo-faq summary,
  :root[data-theme] body main .seo-faq .faq-disclosure-icon { transition: none; }
}

/* Metadata follows card width, including multi-column layouts on wide screens. */
.blog-card { container-type: inline-size; container-name: editorial-card; }
@container editorial-card (max-width: 460px) {
  :root[data-theme] body main .blog-card .blog-card-body .card-meta {
    display: grid; grid-template-columns: repeat(3, max-content);
    justify-content: start; align-items: center; gap: 8px;
  }
  :root[data-theme] body main .blog-card .blog-card-body .card-meta > .card-meta__type {
    grid-column: 1 / -1; justify-self: start;
  }
  :root[data-theme] body main .blog-card .blog-card-body .card-meta > .card-meta__stats { display: contents; }
}
@container editorial-card (max-width: 350px) {
  :root[data-theme] body main .blog-card .blog-card-body .card-meta { gap: 8px 6px; }
  :root[data-theme] body main .blog-card .card-meta > span:not(.card-meta__type),
  :root[data-theme] body main .blog-card .card-meta__stats > span {
    font-size: 11px; padding: 5px 6px; gap: 5px;
  }
  :root[data-theme] body main .blog-card .card-meta > span:not(.card-meta__type) svg { width: 14px; height: 14px; }
}

/* Editorial author cards: identity above a full-width biography and action. */
:root[data-theme] body main .home-author {
  display: flex; flex-direction: column; align-items: stretch; gap: 20px;
}
:root[data-theme] body main .home-author__heading {
  display: flex; align-items: center; gap: 14px; min-width: 0;
}
:root[data-theme] body main .home-author .seo-author__avatar { align-self: center; }
:root[data-theme] body main .home-author .seo-author__content { min-width: 0; gap: 8px; }
:root[data-theme] body main .home-author .seo-author__name { margin: 0; font-size: 20px; }
:root[data-theme] body main .home-author .home-author__heading .seo-author__content .seo-author__role {
  align-self: flex-start; width: fit-content; margin: 0; padding: 4px 8px;
  border-radius: 6px; font-size: 12px; line-height: 1.5; font-weight: 600;
  background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body main .home-author .seo-author__bio { margin: 0; }
:root[data-theme] body main .home-author .seo-author__link {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto;
}

/* Contacts: a useful navigation strip, equal contact channels, and editorial landmarks. */
.contact-jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
:root[data-theme] body main .contact-jump-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 1px solid var(--content-card-border); border-radius: 8px;
  background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background-color .2s ease, color .2s ease;
}
.contact-jump-links svg { width: 18px; height: 18px; }
:root[data-theme] body main .contact-jump-links a:hover { background: var(--ink); color: var(--surface); }
.contact-page :is(#contact-channels, #redaktsiya, #contact-suggest) { scroll-margin-top: 110px; }
:root[data-theme] body main .contact-route .contact-channel__icon {
  width: 48px; height: 48px; border: 0; background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body main.contact-page .contact-editor {
  display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.5fr); gap: 24px;
  background: color-mix(in srgb, var(--tone-violet) 22%, var(--surface));
  border-color: color-mix(in srgb, var(--tone-violet) 46%, var(--surface));
}
:root[data-theme] body main .contact-editor .contact-editor__body .contact-editor__role {
  display: inline-block; padding: 5px 9px; border-radius: 6px;
  background: var(--tone-violet); color: var(--surface); font-size: 12px;
}
:root[data-theme] body main .contact-metric .contact-stat__value { color: var(--tone-violet); }
:root[data-theme] body main .contact-process__number {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 12px; font-size: 20px; letter-spacing: 0;
  background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body main .contact-process__icon {
  display: inline-flex; color: var(--tone-violet);
}
.contact-process__icon svg { width: 24px; height: 24px; }
:root[data-theme] body main .contact-rule .contact-principle__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; margin: 0;
  border-radius: 8px; background: var(--tone-green); color: var(--surface);
}
:root[data-theme] body main .contact-rule { grid-template-columns: 36px minmax(150px, .8fr) minmax(0, 1.6fr); }
@media (max-width: 700px) {
  :root[data-theme] body main.contact-page .contact-editor { grid-template-columns: 1fr; gap: 8px; }
  :root[data-theme] body main .contact-process__icon { display: none; }
  :root[data-theme] body main .contact-rule { grid-template-columns: 36px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme] body main .contact-jump-links a { transition: none; }
}
:root[data-theme] body main.contact-page .contact-editor > .seo-section-heading {
  align-self: center; margin: 0;
}
@media (max-width: 700px) {
  :root[data-theme] body main.contact-page .contact-editor > .seo-section-heading { margin-bottom: 18px; }
}

/* Dark review cards need distinct inset surfaces, not more gray-on-gray tints. */
:root[data-theme="dark"] body main .catalog-review-card .seo-card-meta > :is(.access-fact, .price-fact),
:root[data-theme="dark"] body main .hero-focus .focus-facts > :is(.access-fact, .price-fact) {
  background: color-mix(in srgb, var(--paper) 88%, var(--surface));
  border-color: color-mix(in srgb, var(--fact-tone) 55%, var(--paper));
}
:root[data-theme="dark"] body main .catalog-review-card .attention-note {
  background: color-mix(in srgb, var(--paper) 88%, var(--surface));
  color: var(--ink);
}
:root[data-theme="dark"] body main .catalog-review-card .card-rating.standard-rating {
  background: var(--tone-amber); color: var(--paper);
}
:root[data-theme="dark"] body main .catalog-review-card .card-rating.standard-rating > span { color: inherit; }
:root[data-theme="dark"] body main .catalog-review-card .tag[data-topic-tone] {
  background: color-mix(in srgb, var(--paper) 88%, var(--surface));
  color: var(--topic-tone); border-color: color-mix(in srgb, var(--topic-tone) 50%, var(--paper));
}
:root[data-theme="dark"] body main .catalog-review-card .tag[data-topic-tone]:is(:hover, :focus-visible) {
  background: var(--topic-tone); color: var(--paper);
}

/* Review reading hierarchy: quiet surfaces, semantic facts and clear section rhythm. */
:root[data-theme] body main.review-structure {
  --review-panel: var(--surface);
  --review-line: color-mix(in srgb, var(--ink) 28%, var(--surface));
}
:root[data-theme="dark"] body main.review-structure {
  --review-panel: color-mix(in srgb, var(--paper) 88%, var(--surface));
}
:root[data-theme] body main.review-structure .review-structure__hero {
  padding-bottom: 40px; margin-bottom: 36px; border-bottom: 1px solid var(--review-line);
}
:root[data-theme] body main.review-structure .review-structure__hero-head { gap: 24px; }
:root[data-theme] body main.review-structure .review-structure__logo {
  width: 88px; height: 88px; padding: 16px; background: var(--header-bg); border-radius: 20px;
}
:root[data-theme] body main.review-structure .review-structure__kicker { gap: 8px; margin-bottom: 14px; }
:root[data-theme] body main.review-structure .review-structure__checked {
  gap: 7px; background: var(--tone-green); color: var(--surface);
}
:root[data-theme] body main.review-structure .review-structure__kicker .review-structure__rating {
  background: var(--tone-amber); color: var(--surface);
}
:root[data-theme] body main.review-structure .review-structure__checked .ui-icon { width: 16px; height: 16px; }
:root[data-theme] body main.review-structure .review-structure__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  max-width: 850px; gap: 14px; margin-top: 28px;
}
:root[data-theme] body main.review-structure .review-structure__facts > div {
  --fact-color: var(--accent); padding: 20px; min-width: 0;
  background: color-mix(in srgb, var(--fact-color) 12%, var(--review-panel));
  border: 1px solid color-mix(in srgb, var(--fact-color) 45%, var(--review-panel)); box-shadow: none;
}
:root[data-theme] body main.review-structure .review-structure__facts .access-fact { --fact-color: var(--tone-green); }
:root[data-theme] body main.review-structure .review-structure__facts .price-fact { --fact-color: var(--tone-violet); }
:root[data-theme] body main.review-structure .review-structure__facts dt { color: var(--ink); font-size: 13px; font-weight: 500; }
:root[data-theme] body main.review-structure .review-structure__facts dd { color: var(--fact-color); font-size: 20px; line-height: 1.4; }
:root[data-theme] body main.review-structure .review-structure__promo {
  background: color-mix(in srgb, var(--tone-violet) 12%, var(--review-panel));
  border-color: color-mix(in srgb, var(--tone-violet) 40%, var(--review-panel)); box-shadow: none;
}
:root[data-theme] body main.review-structure .review-structure__promo strong {
  display: inline-block; padding: 6px 12px; margin-top: 3px; border: 1px dashed var(--tone-violet);
  border-radius: 7px; background: var(--review-panel); color: var(--tone-violet); letter-spacing: .05em;
}
:root[data-theme] body main.review-structure .review-byline { max-width: none; background: var(--review-panel); }
:root[data-theme] body main.review-structure .review-byline:hover { background: var(--content-card-hover); }
:root[data-theme] body main.review-structure :is(.review-structure__card, .review-structure__direct, .review-structure__sources li, .review-structure__updates li) {
  background: var(--review-panel); border-color: var(--review-line); box-shadow: none;
}
:root[data-theme] body main.review-structure .review-structure__section { margin-bottom: 52px; }
:root[data-theme] body main.review-structure .review-structure__prose { font-size: 17px; line-height: 1.8; }
:root[data-theme] body main.review-structure .review-structure__prose :is(h2, h3, h4) { margin-top: 32px; margin-bottom: 14px; }
:root[data-theme] body main.review-structure .review-structure__prose > :first-child { margin-top: 0; }
:root[data-theme] body main.review-structure .review-structure__prose p { margin: 0 0 20px; }
:root[data-theme] body main.review-structure .review-structure__card--benefits { --decision-tone: var(--tone-green); }
:root[data-theme] body main.review-structure .review-structure__card--cautions { --decision-tone: var(--tone-amber); }
:root[data-theme] body main.review-structure .review-structure__decision .review-structure__card {
  background: color-mix(in srgb, var(--decision-tone) 10%, var(--review-panel));
  border-color: color-mix(in srgb, var(--decision-tone) 40%, var(--review-panel));
}
:root[data-theme] body main.review-structure .review-structure__decision .review-structure__card h3 {
  display: flex; align-items: center; gap: 10px; color: var(--decision-tone);
}
:root[data-theme] body main.review-structure .review-structure__decision .ui-icon { width: 22px; height: 22px; flex: none; }
:root[data-theme] body main.review-structure .review-structure__tasks > li { padding: 72px 22px 22px; }
:root[data-theme] body main.review-structure .review-structure__tasks > li::before {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--tone-violet); color: var(--surface); top: 22px;
}
:root[data-theme] body main.review-structure #review-limits .review-structure__direct {
  background: color-mix(in srgb, var(--tone-amber) 10%, var(--review-panel));
  border-color: color-mix(in srgb, var(--tone-amber) 40%, var(--review-panel));
}
:root[data-theme] body main.review-structure .review-structure__pricing .review-structure__card {
  background: color-mix(in srgb, var(--tone-violet) 8%, var(--review-panel));
  border-color: color-mix(in srgb, var(--tone-violet) 40%, var(--review-panel));
}
:root[data-theme] body main.review-structure .review-structure__pricing .review-structure__price {
  color: var(--tone-violet); font-size: 28px; padding: 6px 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--review-line);
}
:root[data-theme] body main.review-structure .review-structure__updates time {
  align-self: center; padding: 3px 8px; border-radius: 6px; color: var(--surface); background: var(--tone-green); font-size: 13px;
}
:root[data-theme] body main.review-structure .review-structure__related { grid-template-columns: 1fr; }
:root[data-theme] body main.review-structure .review-structure__related a {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px;
  column-gap: 20px; row-gap: 6px; padding: 18px 20px;
  text-decoration: none;
}
:root[data-theme] body main.review-structure .review-structure__related a > strong,
:root[data-theme] body main.review-structure .review-structure__related a > span:not(.review-structure__related-arrow) { grid-column: 1; }
:root[data-theme] body main.review-structure .review-structure__related a[href]:is(:hover, :focus-visible) {
  background: var(--content-card-hover); text-decoration: none;
}
:root[data-theme="light"] body main.review-structure .review-structure__related a[href]:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
:root[data-theme] body main.review-structure .review-structure__related a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
:root[data-theme] body main.review-structure .review-structure__related-arrow {
  position: static; grid-column: 2; grid-row: 1 / 3; align-self: center;
  padding: 0; margin: 0; border: 0; text-align: center;
}
:root[data-theme] body main.review-structure .review-structure__cta {
  background: color-mix(in srgb, var(--tone-violet) 12%, var(--review-panel));
  border-color: color-mix(in srgb, var(--tone-violet) 40%, var(--review-panel)); box-shadow: none;
}
@media (max-width: 650px) {
  :root[data-theme] body main.review-structure .review-structure__updates time { align-self: flex-start; }
  :root[data-theme] body main.review-structure .review-structure__hero-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  :root[data-theme] body main.review-structure .review-structure__logo { width: 64px; height: 64px; padding: 10px; border-radius: 14px; }
  :root[data-theme] body main.review-structure .review-structure__facts { grid-template-columns: 1fr; }
  :root[data-theme] body main.review-structure .review-structure__section { margin-bottom: 38px; }
  :root[data-theme] body main.review-structure .review-structure__direct { padding: 18px; }
}

/* Navigation arrows use the same readable foreground as their label. */
:root[data-theme] body main .editorial-post-nav__direction > span { color: inherit; }

/* Related articles live in a narrow sidebar, not in the main card grid. */
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body { padding: 16px; gap: 14px; }
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-link > img {
  width: 100%; height: 120px; object-fit: cover;
}
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body h3 {
  font-size: 17px; line-height: 1.4; letter-spacing: -.02em; margin: 0;
}
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body > p { display: none; }
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body .card-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0; min-width: 0;
}
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body .card-meta > .card-meta__stats {
  display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%;
}
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body .card-meta > span,
:root[data-theme] body main .seo-sidebar-posts .blog-card .card-meta__stats > span {
  font-size: 11px; line-height: 1.5;
}
:root[data-theme] body main .seo-sidebar-posts .blog-card .blog-card-body .blog-card-more {
  font-size: 14px; margin-top: 2px; padding-top: 12px;
}
/* Very narrow cards must wrap facts instead of clipping the views count. */
@container editorial-card (max-width: 280px) {
  :root[data-theme] body main .blog-card .blog-card-body .card-meta { display: flex; flex-wrap: wrap; }
  :root[data-theme] body main .blog-card .blog-card-body .card-meta > .card-meta__stats {
    display: flex; flex-wrap: wrap; max-width: 100%;
  }
}

/* Current section is visible for both pointer and assistive-technology users. */
:root[data-theme] body main .seo-sidebar-box.seo-toc a {
  display: block; padding: 7px 10px; border-radius: 7px;
}
:root[data-theme] body main .seo-sidebar-box.seo-toc a[aria-current="location"] {
  color: var(--surface); background: var(--ink); font-weight: 700;
  text-decoration: none;
}
:root[data-theme] body main .seo-sidebar-box.seo-toc a:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}

/* Blog articles: an editorial heading, distinct facts and a calmer reading column. */
:root[data-theme] body:is(.single-post, .single-ai_comparison) main.seo-article { --article-panel: var(--surface); }
:root[data-theme="dark"] body:is(.single-post, .single-ai_comparison) main.seo-article {
  --article-panel: color-mix(in srgb, var(--paper) 88%, var(--surface));
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading {
  padding-bottom: 30px; margin-bottom: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, var(--surface));
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading h1 {
  max-width: 28ch; font-size: clamp(32px, 4vw, 52px); line-height: 1.13; letter-spacing: -.04em;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading > p {
  max-width: 72ch; margin: 22px 0 0; color: var(--ink); font-size: 18px; line-height: 1.7;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .seo-article-meta {
  gap: 10px; margin: 26px 0 0; align-items: stretch;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item {
  padding: 9px 12px; border-radius: 9px; background: var(--article-panel); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 25%, var(--surface)); font-size: 13px;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item:nth-child(2) {
  background: color-mix(in srgb, var(--tone-green) 12%, var(--article-panel));
  border-color: color-mix(in srgb, var(--tone-green) 45%, var(--article-panel));
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item time { font-weight: 700; color: inherit; white-space: nowrap; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item .ui-icon { color: inherit; flex: none; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) {
  max-width: 74ch; font-size: 17px; line-height: 1.8;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) p { margin: 0 0 22px; line-height: 1.8; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) h2 { margin: 44px 0 18px; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.25; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) h3 { margin: 30px 0 14px; font-size: 21px; line-height: 1.35; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) li { padding-left: 4px; margin-bottom: 10px; line-height: 1.75; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-article-main > .theme-prose:not(.seo-summary) li::marker { color: var(--accent); font-weight: 700; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-summary {
  padding: clamp(20px, 3vw, 30px); background: color-mix(in srgb, var(--tone-violet) 12%, var(--article-panel));
  border-color: color-mix(in srgb, var(--tone-violet) 45%, var(--article-panel)); box-shadow: none;
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-summary h2 {
  display: inline-block; padding: 7px 11px; border-radius: 7px; margin: 0 0 18px;
  font-size: 15px; line-height: 1.4; background: var(--tone-violet); color: var(--surface);
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .seo-summary p { color: var(--ink); font-size: 17px; line-height: 1.75; }
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-source {
  background: var(--article-panel); border-color: color-mix(in srgb, var(--ink) 30%, var(--surface));
}
:root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-source:hover { background: var(--content-card-hover); }
@media (max-width: 600px) {
  :root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading > p { font-size: 16px; }
  :root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .seo-article-meta { gap: 8px; }
  :root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item { padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 600px) {
  :root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .seo-article-meta {
    display: grid; grid-template-columns: max-content max-content; justify-content: start;
  }
  :root[data-theme] body:is(.single-post, .single-ai_comparison) main .editorial-heading .editorial-meta-item:nth-child(-n+2) {
    grid-column: 1 / -1; justify-self: start;
  }
}

/* Shared surfaces and actions across the remaining editorial components. */
:root[data-theme] body main :is(.seo-sidebar .seo-sidebar-box, .review-structure__side .seo-sidebar-box, .seo-faq details) {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--ink) 30%, var(--surface));
  box-shadow: none;
}
:root[data-theme="dark"] body main :is(.seo-sidebar .seo-sidebar-box, .review-structure__side .seo-sidebar-box, .seo-faq details) {
  background: color-mix(in srgb, var(--paper) 65%, var(--surface));
}
:root[data-theme] body main .seo-faq details[open] { background: var(--surface); }
:root[data-theme] body main .seo-pair-card {
  display: flex; flex-direction: column; align-items: flex-start;
}
:root[data-theme] body main .seo-pair-card .blog-card-more {
  display: block; align-self: stretch; margin-top: auto; padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 65%, var(--surface));
}
:root[data-theme] body main .seo-pair-card > p { margin-bottom: 20px; }
:root[data-theme] body main :is(.theme-article-image, .hero-banner):has(.schematic-cover) {
  background: #e8f0f2; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); height: auto; min-height: 0;
}
:root[data-theme="dark"] body main :is(.theme-article-image, .hero-banner):has(.schematic-cover) { background: #142c36; }
:root[data-theme] body main :is(.theme-article-image, .hero-banner) .schematic-cover {
  display: block; width: 100%; height: clamp(180px, 24vw, 320px); object-fit: contain; border: 0; border-radius: 0;
}

:root[data-theme] body main :is(.theme-article-image, .hero-banner) .schematic-cover { background: #e8f0f2; }
:root[data-theme="dark"] body main :is(.theme-article-image, .hero-banner) .schematic-cover { background: #142c36; }
@media (max-width: 600px) {
  :root[data-theme] body.single-ai_comparison main .editorial-heading .editorial-meta-item:nth-child(4):not([data-article-views]) {
    grid-column: 1 / -1; grid-row: 4; justify-self: start;
  }
  :root[data-theme] body.single-ai_comparison main .editorial-heading [data-article-views] { grid-column: 2; grid-row: 3; }
}

/* Review reference structure: shared site tokens, no separate visual theme. */
:root[data-theme] body main.review-structure .review-structure__proof-pair,
:root[data-theme] body main.review-structure .review-structure__metrics {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0;
}
:root[data-theme] body main.review-structure .review-structure__proof-pair figure { margin: 0; min-width: 0; }
:root[data-theme] body main.review-structure .review-structure__proof-pair img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: contain; border-radius: 10px; }
:root[data-theme] body main.review-structure .review-structure__metrics dd { margin: 8px 0 0; color: var(--ink); font-weight: 700; font-size: 20px; }
:root[data-theme] body main.review-structure .review-structure__tag { display: inline-block; margin: 8px 10px 8px 0; padding: 5px 9px; border-radius: 6px; color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); font-size: 13px; font-weight: 600; }
:root[data-theme] body main.review-structure .review-structure__tasks footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
:root[data-theme] body main.review-structure .review-structure__notice { padding: 14px 18px; background: var(--review-panel, var(--surface)); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 14px; }
:root[data-theme] body main.review-structure .review-structure__facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
:root[data-theme] body main.review-structure .review-structure__table-wrap { max-width: 100%; overflow-x: auto; margin-top: 20px; }
:root[data-theme] body main.review-structure .review-structure__table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:root[data-theme] body main.review-structure :is(.review-structure__card, .review-structure__direct, .review-structure__sources li) { overflow-wrap: anywhere; }
:root[data-theme] body main.review-structure .review-structure__sources small { display: block; color: var(--ink); }
@media (max-width: 640px) {
  :root[data-theme] body main.review-structure .review-structure__proof-pair,
  :root[data-theme] body main.review-structure .review-structure__metrics { grid-template-columns: 1fr; }
}
:root[data-theme] body main.review-structure .theme-button > span[aria-hidden] { margin-inline-start: 6px; }

/* Review spacing: section flow owns the gaps, nested blocks own their padding. */
:root[data-theme] body main.review-structure {
  --review-block-gap: 20px;
  --review-card-gap: 12px;
  --review-card-padding: 24px;
}
:root[data-theme] body main.review-structure .review-structure__hero {
  display: grid; gap: 24px;
}
:root[data-theme] body main.review-structure .review-structure__hero > * { margin-block: 0; }
:root[data-theme] body main.review-structure .review-structure__section {
  display: flex; flex-direction: column; gap: var(--review-block-gap);
}
:root[data-theme] body main.review-structure .review-structure__section > * {
  margin-block: 0; min-width: 0;
}
:root[data-theme] body main.review-structure .review-structure__section > .review-structure__anchor {
  position: absolute; top: auto;
  scroll-margin-top: calc(var(--site-header-height, 72px) + var(--site-admin-offset, 0px) + 22px);
}
:root[data-theme] body main.review-structure .review-structure__gallery:empty { display: none; }
:root[data-theme] body main.review-structure #review-usage {
  display: flex; flex-direction: column; gap: var(--review-block-gap); margin-top: 8px;
}
:root[data-theme] body main.review-structure #review-usage > h3 { margin: 0; }
:root[data-theme] body main.review-structure :is(.review-structure__card, .review-structure__direct) {
  padding: var(--review-card-padding);
}
:root[data-theme] body main.review-structure .review-structure__tasks > li {
  padding-top: calc(var(--review-card-padding) + 50px);
}
:root[data-theme] body main.review-structure .review-structure__tasks > li::before {
  top: var(--review-card-padding); left: var(--review-card-padding);
}
:root[data-theme] body main.review-structure :is(.review-structure__card, .review-structure__direct) > :is(h3, p, ul, ol, figcaption) { margin-block: 0; }
:root[data-theme] body main.review-structure :is(.review-structure__card, .review-structure__direct) > * + :is(p, ul, ol, .lightbox-trigger) { margin-top: var(--review-card-gap); }
:root[data-theme] body main.review-structure .review-structure__proof-pair figcaption h3 { margin: 0; }
:root[data-theme] body main.review-structure .review-structure__proof-pair .lightbox-trigger { display: block; }
:root[data-theme] body main.review-structure :is(.review-structure__decision, .review-structure__method, .review-structure__usage, .review-structure__tasks, .review-structure__related, .review-structure__diagnostics) { gap: 16px; }
:root[data-theme] body main.review-structure .review-structure__sources small { margin-top: 8px; }
@media (max-width: 650px) {
  :root[data-theme] body main.review-structure { --review-block-gap: 16px; --review-card-padding: 18px; }
  :root[data-theme] body main.review-structure .review-structure__hero { gap: 20px; padding-bottom: 28px; margin-bottom: 28px; }
  :root[data-theme] body main.review-structure .review-structure__facts > div { padding: 18px; }
  :root[data-theme] body main.review-structure :is(.review-structure__promo, .review-structure__cta) { padding: 20px; gap: 20px; }
}
