/* Препка — таблица сравнения тарифов (assets/tariffs.js): общая для главной (/next) и страниц курсов (/v2) */
/* ===== сравнение тарифов: шапка-стикеры, популярный тариф — кислотный столбец, пояснения по «!» ===== */
.v2-tc { margin-top: 8px; }
.v2-tc-scroll { overflow-x: auto; margin: 0 -4px; padding: 14px 4px 4px; -webkit-overflow-scrolling: touch; }
.v2-tc-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font: 500 15px/1.3 Onest, system-ui, sans-serif; color: #0e0e10; }
.v2-tc-table thead th { position: relative; padding: 16px 12px; text-align: center; vertical-align: bottom; background: #f4f4f5; border-radius: 14px 14px 0 0; }
.v2-tc-table thead th + th { border-left: 1px solid #e6e6ea; }
.v2-tc-table thead th b { display: block; font: 400 20px/1 'Dela Gothic One', Onest, sans-serif; letter-spacing: -.01em; }
.v2-tc-price { display: block; margin-top: 8px; font: 600 16px/1 Onest, sans-serif; }
.v2-tc-price small { margin-left: 3px; font-weight: 500; font-size: 12px; opacity: .6; }
.v2-tc-table thead .is-pop { background: #d4ff3a; transform: rotate(-1.2deg) translateY(-4px); box-shadow: 3px 3px 0 #0e0e10; border: 2px solid #0e0e10; border-bottom: 0; }
.v2-tc-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(3deg); padding: 4px 8px; border-radius: 6px; background: #0e0e10; color: #d4ff3a;
  font: 600 11px/1 Onest, sans-serif; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.v2-tc-corner { background: transparent !important; text-align: left !important; vertical-align: bottom; }
.v2-tc-corner span { display: block; max-width: 200px; font: 600 13px/1.3 Onest, sans-serif; color: #6b6b75; }
.v2-tc-corner i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 2px; border-radius: 50%; background: #0e0e10; color: #fff; font: 800 11px/1 Onest; font-style: normal; }
.v2-tc-table tbody th { padding: 13px 14px 13px 0; text-align: left; font-weight: 600; vertical-align: middle; border-top: 1px solid #e6e6ea; }
.v2-tc-table tbody td { padding: 13px 10px; text-align: center; vertical-align: middle; border-top: 1px solid #e6e6ea; background: #fafafb; }
.v2-tc-table tbody td + td { border-left: 1px solid #e6e6ea; }
.v2-tc-table tbody td.is-pop { background: rgba(212, 255, 58, .18); }
.v2-tc-table tbody tr:last-child td { border-radius: 0 0 16px 16px; }
.v2-tc-name { display: inline-flex; align-items: center; gap: 8px; }
.v2-tc-info { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid #0e0e10; border-radius: 6px; background: #fff;
  color: #0e0e10; font: 600 11px/1 Onest, sans-serif; cursor: pointer; transition: background .15s, transform .15s; }
.v2-tc-info:hover { background: #d4ff3a; transform: rotate(-8deg); }
.v2-tc-info[aria-expanded="true"] { background: #0e0e10; color: #d4ff3a; }
.v2-tc-note { display: block; max-width: 340px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #0e0e10; color: #fff; font: 500 13px/1.4 Onest, sans-serif; }
.v2-tc-note[hidden] { display: none; }
.v2-tc-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #d4ff3a; border: 1px solid #0e0e10; font: 600 13px/1 Onest; }
.v2-tc-no { color: #b4b4bc; font-weight: 600; }
.v2-tc-val { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #0e0e10; color: #fff; font: 600 12px/1.2 Onest, sans-serif; }
.v2-tc-table tbody th { position: sticky; left: 0; z-index: 1; background: #fff; }


/* короткие подписи значений — только в узкой таблице */
.v2-tc-s { display: none; }
.v2-tc-price i { font-style: normal; }
/* телефон: та же таблица, но плотная и без прокрутки вбок — названия пунктов слева, три узкие колонки тарифов */
@media (max-width: 640px) {
  .v2-tc-scroll { overflow: visible; margin: 0; padding: 12px 0 0; }
  .v2-tc-table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .v2-tc-table col, .v2-tc-table th:first-child { width: 38%; }
  .v2-tc-table thead th { padding: 12px 4px 10px; border-radius: 14px 14px 0 0; }
  .v2-tc-table thead th + th { border-left-width: 1px; }
  .v2-tc-table thead th b { font-size: 10.5px; letter-spacing: -.03em; white-space: nowrap; }
  .v2-tc-table thead th { padding-inline: 2px; }
  .v2-tc-price { margin-top: 5px; font-size: 11px; }
  .v2-tc-price i, .v2-tc-price small { display: none; }
  .v2-tc-badge { top: -9px; padding: 3px 7px; font-size: 9px; }
  .v2-tc-table thead .is-pop { transform: none; box-shadow: none; border-width: 2px; }
  .v2-tc-corner span { font-size: 11px; }
  .v2-tc-table tbody th { padding: 9px 6px 9px 0; font-weight: 600; line-height: 1.2; }
  .v2-tc-table tbody td { padding: 9px 2px; }
  .v2-tc-table tbody td + td { border-left-width: 3px; }
  .v2-tc-name { gap: 5px; }
  .v2-tc-info { width: 18px; height: 18px; border-width: 1.5px; font-size: 10px; }
  .v2-tc-yes { width: 22px; height: 22px; border-width: 1.5px; font-size: 11px; }
  .v2-tc-val { padding: 4px 6px; font-size: 10.5px; white-space: nowrap; }
  .v2-tc-l { display: none; }
  .v2-tc-s { display: inline; }
  .v2-tc-note { max-width: none; font-size: 12px; }
  .v2-tc-table tbody th { position: static; }
}
