/* /reyting-crm-dlya-avtoservisa (06.11.2026): the language of the CRM's .fin screens on the site. White sheets on a light
   desk, graphite, one gold accent, one dark line for us. Only this page loads the file; it re-points the shared --t-*
   tokens so the header and the footer turn light, like home.css does. */
body.rt {
  --rt-desk: #f4f5f7; --rt-card: #fff; --rt-ink: #171a20; --rt-ink-2: #3b4250; --rt-mute: #6b7280;
  --rt-line: #e7e9ee; --rt-line-2: #f1f2f5; --rt-gold: #d6b56d; --rt-gold-ink: #8a6a22; --rt-gold-soft: #f7f0de; --rt-r: 12px;
  --rt-display: "Geologica", "Golos Text", "Segoe UI", system-ui, sans-serif;
  --rt-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --t-night: #fff; --t-deep: #fff; --t-panel: #fff; --t-line: var(--rt-line); --t-line2: var(--rt-line-2); --t-ink: var(--rt-ink);
  --t-mute: var(--rt-mute); --t-gold: var(--rt-gold-ink); --t-gold-hi: var(--rt-gold-ink); --t-gold-lo: var(--rt-gold-soft);
  --t-display: var(--rt-display); --t-body: var(--rt-body);
  color-scheme: light; color: var(--rt-ink); background: var(--rt-desk); font: 15px/1.55 var(--rt-body);
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility;
}
body.rt ::selection, body.rt .sa-article ::selection { background: var(--rt-gold-soft); color: var(--rt-ink); }
body.rt main { max-width: none; padding: 0; }
body.rt a { color: var(--rt-ink); text-decoration-color: rgba(23, 26, 32, .28); text-underline-offset: .18em; text-decoration-thickness: 1px; }
body.rt a:hover { color: var(--rt-gold-ink); text-decoration-color: currentColor; }
body.rt :focus-visible, body.rt .sa-article a:focus-visible { outline: 2px solid var(--rt-gold-ink); outline-offset: 2px; border-radius: 3px; }

/* header and footer of site_base */
body.rt .tf-top { background: rgba(244, 245, 247, .92); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--rt-line); box-shadow: none; }
body.rt .tf-brand { color: var(--rt-ink); font-family: var(--rt-display); font-weight: 800; letter-spacing: .01em; text-decoration: none; }
body.rt .tf-brand span { color: var(--rt-gold-ink); }
body.rt .tf-nav a, body.rt .tf-link { color: var(--rt-ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
body.rt .tf-nav a:hover, body.rt .tf-link:hover { color: var(--rt-ink); }
body.rt .tf-btn--gold { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid #c9a65c; border-radius: 9px; background: var(--rt-gold); box-shadow: none; color: var(--rt-ink); font: 650 14.5px/1 var(--rt-body); text-decoration: none; transition: background-color .16s; }
body.rt .tf-btn--gold:hover { background: #e0c27f; color: var(--rt-ink); transform: none; box-shadow: none; }
body.rt .tf-top .tf-btn--gold { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
body.rt .tf-foot { border-top: 1px solid var(--rt-line); background: #fff; color: var(--rt-mute); }
body.rt .st-foot__nav b { color: var(--rt-ink); }
body.rt .st-foot__nav a { color: var(--rt-mute); text-decoration: none; }
body.rt .st-foot__nav a:hover { color: var(--rt-ink); }
body.rt .tf-skip { background: var(--rt-ink); color: #fff; }

.rt-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px) 40px; }
.rt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; color: var(--rt-mute); font-size: 13px; }
body.rt .rt-crumbs a { color: var(--rt-mute); text-decoration: none; }
body.rt .rt-crumbs a:hover { color: var(--rt-ink); }

.rt-hero { padding: 14px 0 18px; }
.rt-hero h1 { margin: 0; max-width: 24ch; color: var(--rt-ink); font: 750 clamp(26px, 3vw, 34px)/1.12 var(--rt-display); letter-spacing: -.022em; text-wrap: balance; }
.rt-hero__lead { max-width: 84ch; margin: 10px 0 0; color: var(--rt-ink-2); font-size: 15px; }
.rt-hero__meta { margin: 6px 0 0; color: var(--rt-mute); font-size: 13px; }

.rt-sec { margin-top: 12px; padding: 16px 18px; border: 1px solid var(--rt-line); border-radius: var(--rt-r); background: var(--rt-card); scroll-margin-top: 76px; }
.rt-sec h2 { margin: 0 0 12px; color: var(--rt-ink); font: 700 clamp(17px, 1.7vw, 20px)/1.25 var(--rt-display); letter-spacing: -.012em; text-wrap: balance; }
.rt-p { max-width: 86ch; margin: 10px 0 0; color: var(--rt-ink-2); font-size: 14px; }
.rt-p:first-of-type:not(:last-child) { margin-top: 0; }

/* the result: one row per program, ticks are the eleven checks */
.rt-rank { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rt-rank__row { display: grid; grid-template-columns: 26px minmax(170px, 1.15fr) minmax(0, 1.5fr) 74px; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 9px; }
.rt-rank__row:not(.rt-rank__row--ours):hover { background: var(--rt-line-2); }
.rt-rank__place { color: var(--rt-mute); font: 700 15px/1 var(--rt-display); text-align: center; }
.rt-rank__name { display: grid; min-width: 0; line-height: 1.25; }
.rt-rank__name b { font: 650 15px/1.25 var(--rt-body); }
.rt-rank__name b a { text-decoration: none; }
.rt-rank__name small { overflow: hidden; color: var(--rt-mute); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.rt-rank__score { color: var(--rt-mute); font-size: 12.5px; text-align: right; white-space: nowrap; }
.rt-rank__score b { color: var(--rt-ink); font: 750 17px/1 var(--rt-display); }
.rt-ticks { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.rt-ticks i { display: block; height: 14px; border-radius: 3px; background: var(--rt-line); }
.rt-ticks i.on { background: #5a6170; }
.rt-rank__row--ours { background: var(--rt-ink); }
.rt-rank__row--ours .rt-rank__place { color: var(--rt-gold); }
.rt-rank__row--ours .rt-rank__name b, body.rt .rt-rank__row--ours .rt-rank__name a { color: #fff; }
.rt-rank__row--ours .rt-rank__name small { color: #b6bbc6; white-space: normal; }
.rt-rank__row--ours .rt-rank__score { color: #b6bbc6; }
.rt-rank__row--ours .rt-rank__score b { color: #fff; }
.rt-rank__row--ours .rt-ticks i { background: #3b4250; }
.rt-rank__row--ours .rt-ticks i.on { background: var(--rt-gold); }

/* what you get with us */
.rt-sec--soprovozhdenie { border-color: var(--rt-ink); background: var(--rt-ink); color: #d7dae1; }
.rt-sec--soprovozhdenie h2 { color: #fff; }
.rt-promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; padding: 0; list-style: none; }
.rt-promise li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.rt-promise svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--rt-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rt-promise h3 { margin: 0; color: #fff; font: 650 15.5px/1.3 var(--rt-body); text-wrap: balance; }
.rt-promise p { margin: 3px 0 0; color: #b6bbc6; font-size: 13.5px; line-height: 1.5; }
.rt-promise__note { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid #333844; color: #9198a5; font-size: 12.5px; }

/* where we are stronger */
.rt-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.rt-shot { margin: 0; overflow: hidden; border: 1px solid var(--rt-line); border-radius: 10px; background: var(--rt-desk); }
.rt-shot img { display: block; width: 100%; height: auto; }
.rt-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--rt-ink-2); font-size: 14px; }
.rt-list li { position: relative; padding-left: 16px; }
.rt-list li::before { content: ""; position: absolute; top: .62em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--rt-gold); }
.rt-list b { color: var(--rt-ink); font-weight: 650; }

/* tables */
.rt-tablebox { position: relative; overflow-x: auto; margin: 0 -18px; /* relative: the .rt-sr labels stay inside the scroll box */ border-block: 1px solid var(--rt-line); scrollbar-width: thin; }
.rt-grid { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rt-grid th, .rt-grid td { padding: 7px 10px; border-bottom: 1px solid var(--rt-line-2); text-align: left; vertical-align: top; }
.rt-grid tr:last-child > * { border-bottom: 0; }
.rt-grid thead th { background: #fafafb; color: var(--rt-mute); font-size: 12px; font-weight: 600; line-height: 1.25; vertical-align: bottom; }
.rt-grid tbody th { color: var(--rt-ink); font-weight: 600; }
.rt-grid th:first-child, .rt-grid td:first-child { padding-left: 18px; }
.rt-grid th:last-child, .rt-grid td:last-child { padding-right: 18px; }
.rt-grid--matrix td, .rt-grid--matrix thead th:not(:first-child) { min-width: 78px; text-align: center; vertical-align: middle; }
.rt-grid--matrix tbody th, .rt-grid--matrix thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 132px; background: #fff; box-shadow: 1px 0 0 var(--rt-line); }
.rt-grid--matrix thead th:first-child { background: #fafafb; }
.rt-grid--matrix tbody tr:hover > * { background: #fcfbf7; }
.rt-grid--matrix tbody tr:hover > .rt-ours { background: var(--rt-gold-soft); }
.rt-grid .rt-ours { background: var(--rt-gold-soft); }
.rt-grid thead .rt-ours { background: var(--rt-ink); color: #fff; font-weight: 700; }
.rt-grid .rt-row-total > * { border-top: 1px solid var(--rt-line); color: var(--rt-ink); white-space: nowrap; }
.rt-grid .rt-row-total b { font-weight: 700; }
.rt-grid .rt-row-ours > * { background: var(--rt-gold-soft); color: var(--rt-ink); }
.rt-yes { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -4px 0; border-radius: 6px; }
.rt-yes svg { width: 15px; height: 15px; fill: none; stroke: #11795a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rt-yes:hover { background: #e9f5ef; }
.rt-no { color: #a6abb6; }

/* the details: folded, the same on every width */
.rt-folds { display: grid; gap: 6px; margin-top: 12px; }
.rt-fold { border: 1px solid var(--rt-line); border-radius: var(--rt-r); background: var(--rt-card); }
.rt-fold summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px; cursor: pointer; list-style: none; scroll-margin-top: 76px; }
.rt-fold summary::-webkit-details-marker { display: none; }
.rt-fold summary::before { content: ""; flex: none; width: 7px; height: 7px; border: solid var(--rt-mute); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .16s; }
.rt-fold[open] summary::before { border-color: var(--rt-gold-ink); transform: rotate(45deg) translate(-2px, -1px); }
.rt-fold summary:hover { background: #fcfbf7; border-radius: var(--rt-r); }
.rt-fold h2 { margin: 0; color: var(--rt-ink); font: 650 14.5px/1.3 var(--rt-body); letter-spacing: 0; }
.rt-fold__body { display: grid; gap: 10px; padding: 2px 18px 16px 35px; }
.rt-fold__body .rt-p { margin: 0; }

.rt-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 24px; }
.rt-next h2 { grid-column: 1; margin: 0; }
.rt-next .rt-p { grid-column: 1; margin: 0; }
.rt-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }

@media (prefers-reduced-motion: reduce) { .rt-fold summary::before, body.rt .tf-btn--gold { transition: none; } }

@media (max-width: 860px) {
  .rt-split { grid-template-columns: 1fr; }
  .rt-promise { grid-template-columns: 1fr; gap: 14px; }
  .rt-next { grid-template-columns: 1fr; }
  .rt-actions { grid-column: 1; grid-row: auto; margin-top: 10px; }
}
@media (max-width: 760px) {
  .rt-sec { padding: 14px; }
  .rt-rank__row { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 6px 10px; padding: 8px 10px; }
  .rt-ticks { grid-column: 1 / -1; grid-row: 2; }
  .rt-ticks i { height: 10px; }
  .rt-tablebox { margin: 0 -14px; }
  .rt-grid th:first-child, .rt-grid td:first-child { padding-left: 14px; }
  /* prices and free versions: a stack of label + value instead of a wide table */
  .rt-tablebox--cards { overflow: visible; border: 0; margin: 0; }
  .rt-grid--cards, .rt-grid--cards tbody, .rt-grid--cards tr, .rt-grid--cards th, .rt-grid--cards td { display: block; width: auto; }
  .rt-grid--cards thead { display: none; }
  .rt-grid--cards tbody { display: grid; gap: 6px; }
  .rt-grid--cards tr { padding: 10px 12px; border: 1px solid var(--rt-line); border-radius: 10px; }
  .rt-grid--cards .rt-row-ours { border-color: #e7d6ab; background: var(--rt-gold-soft); }
  .rt-grid.rt-grid--cards .rt-row-ours > * { background: none; }
  .rt-grid--cards tbody th, .rt-grid--cards td, .rt-grid--cards th:first-child, .rt-grid--cards td:first-child, .rt-grid--cards th:last-child, .rt-grid--cards td:last-child { padding: 0; border: 0; background: none; }
  .rt-grid--cards tbody th { margin-bottom: 4px; font-size: 15px; }
  .rt-grid--cards td { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding-top: 2px; font-size: 13px; line-height: 1.4; }
  .rt-grid--cards td::before { content: attr(data-label); color: var(--rt-mute); font-size: 12px; line-height: 1.5; }
  .rt-fold summary { padding-inline: 14px; }
  .rt-fold__body { padding: 2px 14px 14px; }
  .rt-actions .tf-btn { width: 100%; }
}
