/* Слой 5 — печать. Чаще всего страницу печатает бухгалтер ради цен и реквизитов:
   оставляем шапку с телефоном, табло цен, реквизиты, АЗС и контакты; фото, форму, карту и кнопки убираем.
   Подключается с media="print", на экран не влияет и рендер не блокирует. */

@page { size: A4; margin: 14mm 14mm 16mm; }

html, body { background: #fff !important; color: #000 !important; }
body { font-size: 10pt; line-height: 1.4; }
a { color: inherit !important; text-decoration: none !important; }

/* Всё, что на бумаге бесполезно */
.skip, .nav, .menu-btn, .mnav, .dock, .hdr__chip, .hdr__lk, .hdr__cta, .hdr__tel-st,
.hero__order, .hero__cap, .hero__scrim, .ticker__all, .ph, .band, .work__stage, .paths, .prices__act, .seg__thumb, .seg__btn[aria-selected="false"],
.chips, .azs__empty, .req__all, .copy, .order, .map, .wrow__a, .about__fig .t-small,
.board__err[hidden], [data-live], [data-azs-live] { display: none !important; }

/* Скрытые до появления состояния движения — на бумаге всё на месте */
[data-stagger] > *, [data-hero-step], [data-lines] .line__in, .ticker__list dd, .board__delta.is-on, .about__plus {
  opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
}

/* Шапка: логотип и телефон одной строкой, без липкости и подложки */
.hdr { position: static !important; background: none !important; backdrop-filter: none !important; border-bottom: .5pt solid #000 !important; box-shadow: none !important; }
.hdr__in { min-height: 0 !important; padding-block: 0 4mm !important; }
.hdr__tel { display: flex !important; opacity: 1 !important; transform: none !important; visibility: visible !important; }
.hdr__tel-num { font-size: 11pt; }

/* Отступы секций — под бумагу */
.sec { padding-top: 8mm !important; }
/* Первый экран на бумаге — светлый: заголовок, телефон и полоса цен чёрным по белому. */
.hero, .hero [data-theme], .ticker, .hdr[data-theme] { background: none !important; color: #000 !important; min-height: 0 !important; }
.hero { padding-block: 6mm 0 !important; }
.hero__body { padding: 0 0 4mm !important; }
.hero__title, .hero__lead, .hero__st, .hero__tel, .ticker__date, .ticker__date time, .ticker__list dt, .ticker__list dd { color: #000 !important; }
.ticker__in { padding-block: 3mm !important; border-block: .5pt solid #000; }
.logo__mark { color: #000 !important; }
.hero__title { font-size: 18pt !important; line-height: 1.15 !important; max-width: none !important; }
.hero__lead { font-size: 11pt !important; }
.hero__tel { font-size: 13pt !important; }
h2, .t-h2, .prices__title { font-size: 15pt !important; line-height: 1.2 !important; }
.t-h1 { font-size: 15pt !important; }
.t-h3, .t-h4 { font-size: 11pt !important; }
.t-lead { font-size: 10.5pt !important; }
.about__num { font-size: 28pt !important; }

/* Цены: выбранная вкладка становится подписью табло */
.seg { display: block !important; background: none !important; border: 0 !important; padding: 0 !important; }
.seg__btn[aria-selected="true"] { display: inline !important; background: none !important; border: 0 !important; padding: 0 !important; color: #000 !important; font-weight: 600; box-shadow: none !important; }
.board { break-inside: avoid; }
.board__num { font-size: 20pt !important; color: #000 !important; background: none !important; }
.board.is-loading .board__num { color: #000 !important; }
.board__t th, .board__t td { padding-block: 2mm !important; border-color: #000 !important; }

/* Строки списков не рвутся между страницами */
.board__t tr, .kv__r, .facts__r, .st__r, .wrow, .track, .visit__list li, .write__list > div { break-inside: avoid; }
h2, h3, h4 { break-after: avoid; }

/* Реквизиты и контакты печатаются целиком, с понятными границами */
.req { break-before: page; }
.kv__r, .st__r, .facts__r { border-color: #999 !important; }
.contacts__tel { font-size: 16pt !important; }

/* Ссылки без видимого адреса: показываем, куда ведут, там, где это нужно на бумаге */
.client__list a[href^="https://lk."]::after { content: " — lk.tp-rk.ru"; font-weight: 400; }
.files { display: none !important; }

.ftr { border-top: .5pt solid #000 !important; padding-block: 4mm !important; }
.ftr__links { display: none !important; }

/* «Что делаем» — рассказ для экрана; на бумаге нужнее цены, реквизиты и адреса */
.work { display: none !important; }

/* «300+»: одометр мог ещё не прокрутиться — печатаем число из текста для скринридера */
.about__num .odo, .about__num .about__plus { display: none !important; }
.about__num .sr-only { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important; clip-path: none !important; white-space: normal !important; }

/* АЗС: одна строка на станцию, как в таблице на десктопе */
.st__head { display: grid !important; grid-template-columns: 8mm 5fr 3fr 4fr; column-gap: 4mm; padding-bottom: 1.5mm; }
.st__r { grid-template-columns: 8mm 5fr 3fr 4fr !important; column-gap: 4mm; padding-block: 1.6mm !important; }
.st__n { grid-row: auto !important; font-size: 10pt !important; }
.st__f, .st__b { grid-column: auto !important; }
.st__go, .st__bl { display: none !important; }
.about__fig { break-inside: avoid; }
.visit__list li > .t-small { display: none !important; }
