/* Дополнения к /site/tools.css для отдельных SEO-страниц (web/scripts/seo-pages.mjs, 29.10.2026):
   таблицы календаря и реестра, образец документа, кнопки скачивания, цены. Цвета и шрифты — переменные tools.css. */
.sec-lede { margin: -6px 0 18px; max-width: 760px; color: var(--ink-2); }
.h2--gap { margin-top: 48px; }
.codes--3 span { font: 700 15px/1.25 var(--font-sans); letter-spacing: 0; text-align: center; padding: 8px 10px; }
.tool--static, .tool--static:hover { transform: none; box-shadow: var(--shadow-card); }

/* таблицы: календарь 2027, примеры сроков, реестр дел */
.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1.5px solid var(--line); background: var(--paper-sunk); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tfoot td { font-weight: 800; color: var(--ink); border-top: 1.5px solid var(--line); border-bottom: 0; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tbl b { color: var(--ink); }
.tbl a { color: var(--ink); text-underline-offset: 3px; }
.tbl--sm { font-size: 13px; }
.tbl--sm td, .tbl--sm th { white-space: nowrap; }
.tbl--sm td:last-child, .tbl--sm th:last-child { text-align: left; }

/* скачивание файлов */
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 16px 0 0; }
.dl .btn { white-space: normal; text-align: center; line-height: 1.25; }
.dl-note { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }

/* образец документа */
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.doc-tabs a { padding: 8px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-card); font-weight: 700; font-size: 14px; text-decoration: none; }
.doc { margin: 32px 0 0; padding: 40px 48px; max-width: 820px; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-lift); font: 16px/1.6 "Times New Roman", Times, serif; color: var(--ink); scroll-margin-top: 90px; overflow-wrap: anywhere; }
.doc:first-of-type { margin-top: 0; }
.doc p { margin: 0 0 10px; }
.doc-head { margin: 0 0 24px auto; max-width: 420px; text-align: left; }
.doc-title { margin: 20px 0 16px !important; text-align: center; font-weight: 700; }
.doc-p { text-indent: 2em; text-align: justify; }

/* цены на страницах «для адвоката» и «для юрфирмы» */
.price { margin-top: 8px; padding: 26px 28px; max-width: 820px; border-radius: 24px; background: var(--marker-soft); border: 1.5px solid var(--marker-edge); }
.price p { margin: 0 0 10px; }
.price-trial { font: 700 22px/1.2 var(--font-display); letter-spacing: -.03em; }
.price-main { font-size: 17px; font-weight: 700; }
.price-sub { font-size: 14px; color: var(--ink-2); }
.price .cta-act { margin-top: 16px; }
.price .cta-act .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }

@media (max-width: 640px) {
  .codes--3 { grid-template-columns: minmax(0, 1fr); }
  .doc { padding: 24px 18px; font-size: 15px; }
  .doc-p { text-align: left; }
  .tbl { font-size: 14px; }
  .tbl td, .tbl th { padding: 10px; }
  .price { padding: 20px 18px; }
  .h2--gap { margin-top: 36px; }
}
.hero .hero-act { margin-top: 22px; }
.tbl--cmp td:last-child, .tbl--cmp th:last-child { text-align: left; }
.tbl--cmp td:first-child { width: 22%; }
.tbl--cmp th:nth-child(2), .tbl--cmp td:nth-child(2) { width: 39%; }
.cmp-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.cmp-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
/* Сравнение на телефоне: название строки над двумя колонками «Фабула» и другая программа. */
@media (max-width: 640px) {
  .tbl--cmp tr { display: grid; grid-template-columns: 1fr 1fr; }
  .tbl--cmp td:first-child, .tbl--cmp th:first-child { grid-column: 1 / -1; width: auto; }
  .tbl--cmp th:first-child { display: none; }
  .tbl--cmp td:first-child { padding-bottom: 0; border-bottom: 0; }
  .tbl--cmp th:nth-child(2), .tbl--cmp td:nth-child(2) { width: auto; }
}
