/*
 * RU: Дополнительные стили раздела БИ8 «Продвижение» и «Оплата» нового кабинета /biz/app/. Общие компоненты (card, btn, tbl, tabs, pill…) уже в
 *     /css/biztools.css; здесь — только то, чего там нет. Правила — внутри body.bt-page и на токенах сайта (--k-*), без
 *     литералов цвета (храповик check:theme). Файл свой у каждой фазы, чтобы параллельные потоки не правили один файл.
 * EN: Extra styles of the BI8 "Promotion" and "Billing" section of the new /biz/app/ cabinet. Shared components (card, btn, tbl, tabs, pill…) are
 *     already in /css/biztools.css; only what is missing goes here. Rules sit inside body.bt-page and use site tokens
 *     (--k-*), no colour literals (the check:theme ratchet). Each phase has its own file so parallel tracks never edit one.
 */

/* RU: Причины закрытого запуска — список «что сделать»: иконка слева, текст переносится, а не уезжает под неё.
   EN: Closed-launch reasons — a to-do list: the icon on the left, text wraps instead of sliding under it. */
body.bt-page .pr-reasons li {display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start;}
body.bt-page .pr-reasons li .ic {margin-top: 2px; color: var(--k-warn);}

/* RU: Отказ в запуске под кнопками — тот же оттенок предупреждения, что у плашки warn, чтобы читался как «сделать», а не «ошибка».
   EN: The launch refusal under the buttons — the same warning tint as the warn banner, read as "to do" rather than "error". */
body.bt-page .pr-refusal {border-color: var(--k-warn); background: var(--k-warn-soft);}
body.bt-page .pr-refusal p {margin: 0 0 6px;}

/* RU: Кнопки черновика и запуска — во всю ширину на телефоне, чтобы не промахнуться пальцем.
   EN: Draft and launch buttons — full width on a phone so a finger does not miss. */
body.bt-page .pr-actions {justify-content: flex-end;}
@media (max-width: 640px) {
  body.bt-page .pr-actions .btn {flex: 1 1 100%;}
}

/* RU: Переключатели настроек кампании переносятся на новую строку: «Часы работы с высоким спросом» и три цели в одну строку
       шире телефона (375 px), и без переноса вся колонка формы уезжала вправо с прокруткой страницы вбок.
   EN: Campaign setting switches wrap to a new line: "Часы работы с высоким спросом" and three goals on one line are wider
       than a phone (375 px), and without wrapping the whole form column slid right with sideways page scrolling. */
body.bt-page .sc-promo .form > * {min-width: 0;}
body.bt-page .sc-promo .seg {flex-wrap: wrap; max-width: 100%;}
body.bt-page .sc-promo .seg button {white-space: normal; text-align: left;}

/* RU: Действия в строке кампании не переносятся по одной букве: кнопки остаются целыми, строка таблицы прокручивается.
   EN: Campaign row actions do not wrap letter by letter: buttons stay whole, the table row scrolls. */
body.bt-page .pr-row-acts {white-space: nowrap; text-align: right;}
