/* Документация для провайдеров: только то, чего нет в общих стилях сайта (/site/site.css), — таблицы заголовков.
   Цвета, шрифты, шапка, оглавление и текстовая колонка — общие со справкой и главной страницей. */

.tablewrap { margin: 0 0 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); scrollbar-width: thin; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
th, td { text-align: start; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { font-size: 12.5px; font-weight: 650; color: var(--muted); white-space: nowrap; }
td { color: var(--text-2); font-variant-numeric: tabular-nums; }
td:first-child { white-space: nowrap; }
td:first-child code { background: none; padding: 0; color: var(--text); font-weight: 600; font-size: .92em; }
td .alt { display: block; color: var(--muted); font-size: 12.5px; white-space: normal; }
/* Таблица «что входит»: первая колонка — обычный текст, ему можно переноситься; колонки «да / нет» узкие. */
.features td:first-child { white-space: normal; }
.features th:not(:first-child), .features td:not(:first-child) { width: 1%; white-space: nowrap; }
.yes { color: var(--ok); font-weight: 650; white-space: nowrap; }
.no { color: var(--no); white-space: nowrap; }

@media (max-width: 640px) {
  td:first-child { white-space: normal; }
}

/* Два снимка рядом: «без тарифа» и «по тарифу». На узком экране — друг под другом, но не шире телефона. */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 560px; margin: 18px 0 26px; }
.compare figure { margin: 0; max-width: none; }
.compare img { width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 22px; }
.compare figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 640px) {
  .compare { grid-template-columns: minmax(0, 300px); justify-content: center; }
}

/* Снимки админки: у неё только тёмная тема, поэтому рамка нужна и на тёмной странице, и на светлой. */
.doc figure img.shot-admin { border: 1px solid var(--line-2); border-radius: 14px; }
.doc figure.narrow-admin { max-width: 420px; }
