/*
 * /pay-tuition/<платформа>/ — оплата инструкций Flywire, Convera, TransferMate, PayMyTuition из USDT
 * (SEO-волна 25.11.2026 (в), зона tuition-platforms; генератор tools/tuition-platforms.mjs).
 * Поверх assets/r26-invoices.css (inv-*), r26-corridors.css (cor-*) и r26-inv-niches.css (ivn-*): здесь только своё.
 * Приставка tp-. Только токены r26 (тёмная тема — без атрибута, светлая — html[data-theme="light"]), логические
 * свойства для RTL. Телефон: 899 / 719 / 359 px; на 320 без боковой прокрутки.
 */

/* ══ Первый экран: фраза «не связан» и карточка-инструкция ═════════════════ */
.tp-aff { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--r-faint); max-width: 60ch; }
.tp-ins .inv-rc-row b { text-align: end; overflow-wrap: anywhere; }
.tp-ins-exp {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 12px;
  font-size: 13px; color: var(--r-text-2); background: var(--r-brand-tint);
}
.tp-ins-exp svg { flex: none; color: var(--r-link); }
.tp-ins-exp b { margin-inline-start: auto; color: var(--r-text); font-weight: 800; white-space: nowrap; }

/* ══ Таблица «строка инструкции → поле в приложении» (3 колонки) ═══════════ */
.tp-gen tbody th { width: 28%; }
.tp-gen td:nth-child(2) { width: 28%; font-weight: 700; color: var(--r-text); }

/* ══ Источники ═════════════════════════════════════════════════════════════ */
.tp-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tp-src li {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--r-line); background: var(--r-fill-1);
}
.tp-src a { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--r-link); text-decoration: none; overflow-wrap: anywhere; }
.tp-src a:hover { text-decoration: underline; }
.tp-src a svg { flex: none; margin-top: 3px; }
.tp-src span { font-size: 12px; color: var(--r-muted); }

@media (max-width: 899px) {
  .tp-src { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .tp-gen tbody th, .tp-gen td:nth-child(2) { width: auto; }
  .tp-ins-exp { font-size: 12px; }
}
@media (max-width: 359px) {
  .tp-ins-exp { flex-wrap: wrap; }
  .tp-ins-exp b { margin-inline-start: 0; }
}
