/*
 * /invoices/<страна>/ — направления оплаты счетов (волна «инвойсы» 09.11.2026, tools/invoice-corridors.mjs).
 * Поверх assets/r26-invoices.css (inv-*): здесь только то, чего там нет. Приставка cor-.
 * Только токены r26 (тёмная тема — без атрибута, светлая — html[data-theme="light"]), логические свойства для RTL.
 * Телефон: 899 / 719 px; на 320 без боковой прокрутки (таблица реквизитов складывается в карточки).
 */

/* ══ Способы страны ═══════════════════════════════════════════════════════ */
.cor-meth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cor-meth--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cor-m { padding: 24px; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.cor-m-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cor-m-t { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--r-text); }
.cor-m-b { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--r-link); background: var(--r-brand-tint); border-radius: 999px; padding: 4px 10px; }
.cor-m-d { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--r-text-2); }

/* ══ Таблица реквизитов: три колонки ══════════════════════════════════════ */
.cor-tbl thead th { font-size: 13px; color: var(--r-muted); background: var(--r-fill-1); }
.cor-tbl tbody th { width: 24%; }
.cor-tbl td:last-child { color: var(--r-muted); }

/* ══ Местная специфика и деловая практика ═════════════════════════════════ */
.cor-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cor-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cor-card-t { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--r-text); }
.cor-card-i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--r-brand-tint); color: var(--r-link); }
.cor-card-d { margin: 0; font-size: 15px; line-height: 1.65; color: var(--r-text-2); }

.cor-prac { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cor-prac-i { padding: 24px; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.cor-prac-n { flex: none; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--r-accent); padding-top: 4px; }
.cor-prac-t { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--r-text); line-height: 1.3; }
.cor-prac-d { margin: 0; font-size: 15px; line-height: 1.65; color: var(--r-text-2); }

/* ══ Ошибки и пример ══════════════════════════════════════════════════════ */
.cor-x .inv-chk-i { color: var(--r-red); background: var(--r-red-line); }
.cor-ex-rows { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 4px; }
.cor-ex .inv-msg { min-height: 0; }

@media (max-width: 899px) {
  .cor-meth--2, .cor-grid2, .cor-prac { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .cor-m, .cor-card, .cor-prac-i { padding: 20px; }
  .cor-m { flex-direction: column; gap: 12px; }
  .cor-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cor-tbl, .cor-tbl tbody, .cor-tbl tr, .cor-tbl th, .cor-tbl td { display: block; width: auto; }
  .cor-tbl tr { padding: 14px 16px; border-bottom: 1px solid var(--r-line); }
  .cor-tbl tbody tr:last-child { border-bottom: 0; }
  .cor-tbl :is(th, td) { padding: 0; border-bottom: 0; }
  .cor-tbl tbody th { width: auto; font-size: 15px; padding-bottom: 6px; }
  .cor-tbl td { font-size: 14px; padding-top: 6px; }
  .cor-tbl td::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 800; color: var(--r-muted); margin-bottom: 2px; }
}
