.t2{
 --t2-ink:#111318;
 --t2-gray-700:#4b5160;
 --t2-gray-500:#8b909c;
 --t2-gray-300:#e2e5ea;
 --t2-gray-100:#f5f6f8;
 --t2-line:#e7e9ee;
 --t2-accent-red:#db3340;
 --t2-info-bg:#eaf3fc;
 --t2-info-line:#cfe4f8;
 --t2-info-ink:#1b5fa8;
 --t2-radius:8px;
 --t2-radius-sm:4px;

 margin-top:0px;
 padding-top:0;
 padding-bottom:64px;
 font-family:"Montserrat", sans-serif !important;
 color:var(--t2-ink);
}
.t2 *{ box-sizing:border-box; font-family:inherit !important; }

.t2 .t2-tabrow{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.t2 .t2-tab{
 appearance:none;
 border-radius:8px;
 border:1px solid #DADADA;
 background:#FFF;
 color:#6E6E6E;
 font-size:16px;
 font-weight:500;
 padding:11px 16px;
 cursor:pointer;
 white-space:nowrap;
 font-family:inherit;
}
.t2 .t2-tab.active{
 border-radius:8px;
 background:#000;
 border-color:#000;
 color:#fff;
}
.t2 .t2-tab:hover:not(.active){
 border-radius:8px;
 border:1px solid #E2E5EA;
 background:#F5F5F8;
 color:#6E6E6E;
}

.t2 .t2-placeholder{
 text-align:center;
 padding:64px 20px;
 border:1px dashed var(--t2-gray-300);
 border-radius:var(--t2-radius);
 color:var(--t2-gray-700);
}
.t2 .t2-placeholder-icon{ font-size:32px; margin-bottom:12px; }
.t2 .t2-placeholder-title{ font-size:18px; font-weight:700; color:var(--t2-ink); margin-bottom:6px; }
.t2 .t2-placeholder-text{ font-size:14px; color:var(--t2-gray-500); }

.t2 .t2-filters{ display:flex; flex-wrap:wrap; gap:32px; margin:28px 0 20px; }
.t2 .t2-filter-block label{ display:block; font-size:13px; color:var(--t2-ink); font-weight:600; margin-bottom:8px; }
.t2 .t2-select{ position:relative; width:220px; }
.t2 .t2-select select{
 width:100%;
 appearance:none;
 font-family:inherit;
 font-size:16px;
 font-weight:500;
 color:var(--t2-ink);
 background:#fff;
 border:1px solid var(--t2-gray-300);
 border-radius:8px;
 padding:10px 34px 10px 14px;
 cursor:pointer;
 background-image:url('/local/templates/main/img/chevron-down.svg');
 background-repeat:no-repeat;
 background-position:right 12px center;
 background-size:16px 16px;
}
.t2 .t2-select select:focus{
 background-image:url('/local/templates/main/img/chevron-up.svg');
 outline:none;
}

.t2 .t2-filters {
 align-items: flex-end;
}

.t2 .t2-filter-block--intl-actions {
 margin-left: auto;
 display: flex;
 gap: 12px;
}

.t2 .t2-btn-outline {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 10px 16px;
 border-radius: 8px;
 border: 1px solid var(--t2-gray-300);
 background: #fff;
 color: var(--t2-ink);
 font-size: 14px;
 font-weight: 600;
 cursor: pointer;
 text-decoration: none;
 font-family: inherit;
 white-space: nowrap;
}

.t2 .t2-btn-outline--danger {
 border-color: #F5C2C4;
 color: var(--t2-accent-red);
 background: #FDECEC;
}

.t2 .t2-btn-outline:hover {
 border-color: var(--t2-accent-red);
}

/* CTA в строке заголовка. Скрипт переносит кнопку из .wrapper.t2 в .title-block,
 поэтому селектор без .t2 — снаружи вложенность не работает.
 #DB3340 = --t2-accent-red: переменная объявлена на .t2 и отсюда не видна.
 До переноса кнопка скрыта, иначе мелькает внизу страницы */
.t2-btn-primary {
 display: none;
 box-sizing: border-box;
 align-items: center;
 padding: 11px 20px;
 border: 0;
 border-radius: 8px;
 background: #DB3340;
 color: #fff;
 font-family: "Montserrat", sans-serif;
 font-size: 14px;
 font-weight: 600;
 line-height: 1.2;
 white-space: nowrap;
 cursor: pointer;
 transition: background .2s;
}

.t2-btn-primary:hover {
 background: #C22C38;
}

.t2-btn-primary.is-placed {
 display: inline-flex;
}

.title-block.t2-has-cta {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
}

.title-block.t2-has-cta .breadcrumb {
 flex: 0 0 100%;
}

.t2 .t2-info-banner{
 display:flex;
 gap:12px;
 align-items:flex-start;
 background:#FDF5F5;
 border:1px solid #EBC4CC;
 border-radius:var(--t2-radius);
 padding:14px 18px;
 font-size:14px;
 color:#26364a;
 line-height:1.5;
 margin-bottom:24px;
}

.t2 .t2-info-banner .t2-info-icon{ background:#DB3340; color:#fff; }

.t2 .t2-info-banner__text p {
 margin: 0 0 8px;
}

.t2 .t2-info-banner__text p:last-child {
 margin-bottom: 0;
}

.t2 .t2-info-icon{
 flex:none;
 width:20px;height:20px;
 border-radius:50%;
 background:var(--t2-info-ink);
 color:#fff;
 font-size:13px;
 font-weight:700;
 display:flex;align-items:center;justify-content:center;
 margin-top:1px;
}

.t2 .t2-table-card{ border:1px solid var(--t2-line); border-radius:var(--t2-radius); overflow:hidden; margin-bottom:48px; }
.t2 table{ width:100%; border-collapse:collapse; font-size:14px; }
.t2 thead th{
 text-align:left;
 background:var(--t2-gray-100);
 color:var(--t2-gray-700);
 font-weight:600;
 font-size:14px;
 padding:14px 16px;
 border-bottom:1px solid var(--t2-line);
 white-space:nowrap;
}
.t2 tbody td{ padding:14px 16px; border-bottom:1px solid var(--t2-line); white-space:nowrap; }
.t2 tbody tr:last-child td{ border-bottom:none; }

.t2 .t2-op-cell{ display:flex; align-items:center; gap:10px; font-weight:600; }
.t2 .t2-op-cell img{ width:26px; height:26px; object-fit:contain; }
.t2 .t2-op-tag{ font-weight:400; color:var(--t2-gray-500); font-size:12px; }
.t2 .t2-op-cell .prompt{ display:inline-flex; align-items:center; }
.t2 .prompt-btn:hover{ background:var(--t2-accent-red); }
.t2 .t2-note-row td{ color:var(--t2-gray-700); font-weight:400; }
.t2 .t2-note-row a{ color:var(--t2-accent-red); text-decoration:none; font-weight:600; }
.t2 .t2-note-row a:hover{ text-decoration:underline; }
.t2 .t2-op-section-title{ display:flex; align-items:center; gap:10px; font-size:20px; font-weight:700; margin:0 0 16px; }
.t2 .t2-detail-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px; align-items:start; }
.t2 .t2-detail-grid--beeline{ grid-template-columns:1fr 1fr; gap:32px; width:100%; }
.t2 .t2-detail-grid--beeline .t2-detail-tables,
.t2 .t2-detail-grid--beeline .t2-notes-panel{ height:100%; }
.t2 .t2-detail-tables{ display:flex; flex-direction:column; gap:20px; }
.t2 .t2-mini-title{ font-size:16px; font-weight:600; margin-bottom:10px; }
.t2 .t2-mini-card{ border:1px solid var(--t2-line); border-radius:var(--t2-radius); overflow:hidden; }

.t2 .t2-notes-panel{
 background:#FDF5F5;
 border:1px solid #EBC4CC;
 border-radius:var(--t2-radius);
 padding:24px;
 font-size:14px;
 line-height:1.7;
 color:#26364a;
}
.t2 .t2-notes-panel .t2-info-icon{ background:#DB3340; color:#fff; }
.t2 .t2-notes-title{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:18px; margin-bottom:24px; }
.t2 .t2-notes-panel ol{ padding-left:18px; margin:24px 0 0; }
.t2 .t2-notes-panel li{ margin-bottom:8px; }
.t2 .t2-notes-panel p{ margin-bottom:24px; }
.t2 .t2-notes-panel a{ color:#DB3340; font-weight:600; text-decoration:none; display:inline-block; margin-top:8px; }
.t2 .t2-notes-panel a:hover{ text-decoration:underline; }


/* Переопределение стилей Choices.js */
.t2 .choices {
 margin-bottom: 0;
 --choices-border-radius: 8px;
}

.t2 .choices__inner {
 background: #fff;
 border: 1px solid #D9DAE2;
 border-radius: 8px;
 padding: 9px 14px;
 min-height: 44px;
 font-size: 16px;
 font-weight: 500;
}

.t2 .choices.is-open .choices__inner {
 border-color: #E31E24;
}

.t2 .choices.is-disabled .choices__inner {
 background: var(--t2-gray-100);
 cursor: not-allowed;
 opacity: 0.6;
 pointer-events: none;
}

.t2 .choices.is-disabled .choices__inner,
.t2 .choices.is-disabled .choices__list--single .choices__item {
 color: var(--t2-ink);
}

.t2 .choices__list--dropdown,
.t2 .choices__list[aria-expanded] {
 border: 1px solid #D9DAE2;
 border-radius: 8px;
 margin-top: 6px;
 box-shadow: 0 8px 24px rgba(20, 20, 30, 0.08);
 overflow: hidden;
}

.t2 .choices__list--dropdown .choices__input {
 border: none;
 border-bottom: 1px solid #E9E9EE;
 margin: 8px;
 width: calc(100% - 16px);
 border-radius: 8px;
 background: #F5F5F8;
 padding: 8px 12px;
}

.t2 .choices__list--dropdown .choices__item--selectable {
 padding: 10px 14px;
}

.t2 .choices__list--dropdown .choices__item--selectable.is-highlighted {
 background: #FDECEC;
 color: #B8151A;
}

.t2 .t2-op-cell .prompt-btn img {
 display: none;
}

.t2 .t2-op-cell .prompt-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 16px;
 height: 16px;
 background-color: #8A8C97;
 -webkit-mask-image: url('/local/templates/main/img/icon-info.svg');
 mask-image: url('/local/templates/main/img/icon-info.svg');
 -webkit-mask-size: contain;
 mask-size: contain;
 -webkit-mask-repeat: no-repeat;
 mask-repeat: no-repeat;
 -webkit-mask-position: center;
 mask-position: center;
}

.t2 .t2-op-cell .prompt-btn:hover {
 background-color: #E31E24;
}

.t2 .prompt-info {
 position: fixed !important;
 z-index: 10000;
 max-width: 320px !important;
 width: max-content !important;
 height: max-content !important;
 white-space: normal !important;
 word-wrap: break-word;
 overflow-wrap: break-word;
 box-sizing: border-box;
 text-align: left !important;
 background: #4C4C4C;
 color: #fff;
 font-size: 13px;
 line-height: 1.5;
 padding: 12px 14px;
 border-radius: 8px;
 box-shadow: 0 8px 24px rgba(20, 20, 30, 0.24);
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 0.15s ease;
}

.t2 .prompt-info.is-visible {
 opacity: 1 !important;
 visibility: visible !important;
}

.t2 .prompt-info::after,
.t2 .prompt-info::before {
 display: none !important;
 content: none !important;
}

.t2 .t2-notes-panel p {
 margin: 0 0 10px;
}

.t2 .t2-notes-panel p:last-of-type {
 margin-bottom: 12px;
}

/* ==========ПЛАТНОЕ ИМЯ=========== */

.t2-paid-layout {
 display: flex;
 gap: 32px;
 align-items: flex-start;
}

.t2-paid-sidebar {
 flex: 0 0 220px;
 display: flex;
 flex-direction: column;
 gap: 4px;
 border: 1px solid var(--t2-line);
 border-radius: var(--t2-radius);
 padding: 8px;
}

.t2-paid-side-item {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 16px 16px;
 border: none;
 background: none;
 border-radius: 8px;
 font-size: 14px;
 color: var(--t2-ink);
 cursor: pointer;
 text-align: left;
 font-family: inherit;
}

.t2-paid-side-item img {
 width: 22px;
 height: 22px;
 object-fit: contain;
 flex: none;
}

.t2-paid-side-item:hover {
 background: var(--t2-gray-100);
}

.t2-paid-side-item.active {
 background: #FDECEC;
 color: var(--t2-ink);
 font-size: 14px;
 font-weight: 600;
}

.t2-paid-content {
 flex: 1;
 min-width: 0;
}

.t2 .t2-op-section-title {
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 24px;
 font-weight: 700;
 margin: 0 0 24px;
}

.t2-detail-grid--paid {
 grid-template-columns: 1fr 1fr;
 gap: 16px;
}

.t2-detail-tables {
 gap: 24px;
}

.t2 .t2-detail-grid--paid > * {
 min-width: 0;
}

.t2-detail-grid--paid table th:nth-child(2),
.t2-detail-grid--paid table td:nth-child(2),
.t2-detail-grid--paid table th:nth-child(3),
.t2-detail-grid--paid table td:nth-child(3) {
 text-align: right;
}

.t2-op-block--fee {
 margin-top: 32px;
 margin-bottom: 100px;
}

.t2-fee-card {
 border: 1px solid var(--t2-line);
 border-radius: var(--t2-radius);
 padding: 20px;
 text-align: left;
}

.t2-fee-section {
 margin-top: 32px;
}

/* Платное имя. В разметке три блока подряд: таблицы, «Стоимость имён
   и шаблонов», примечания. Это и есть порядок для одной колонки —
   на планшете и мобильном менеджеру нужно, чтобы стоимость имён шла
   сразу за стоимостью сообщений, а примечания — последними.
   margin-top был нужен, пока блок стоял внутри колонки с таблицами. */
.t2 .t2-detail-grid--paid {
 grid-template-columns: 1.6fr 1fr;
}

.t2 .t2-detail-grid--paid > .t2-fee-section {
 margin-top: 0;
}


/* На широком экране раскладываем те же три блока по ячейкам: таблицы
   и примечания в левую колонку одно под другим, стоимость имён — в правую.
   «Стоимость сообщений» стоит НАД сеткой, а не внутри колонки — поэтому
   верх панели справа совпадает с подзаголовком слева («Подписочная
   тарификация» и т.п.), без подгонки отступов под каждого оператора.
   Порядок в разметке при этом не меняется, поэтому ниже 1280px всё
   выстраивается в колонку само, без дополнительных правил. */
@media (min-width: 1280px) {
 .t2 .t2-detail-grid--paid {
  row-gap: 24px;
 }

 .t2 .t2-detail-grid--paid > .t2-detail-tables {
  grid-column: 1;
  grid-row: 1;
 }

 .t2 .t2-detail-grid--paid > .t2-fee-section {
  grid-column: 2;
  grid-row: 1;
  /* Панель равняется по верху таблицы, а не по подзаголовку над ней.
     28px — это высота .t2-mini-title (18px) плюс её margin-bottom (10px);
     ступенька одинаковая у всех семи операторов, потому что первым
     элементом колонки везде идёт подзаголовок, а сразу за ним таблица.
     Поменяете размер или отступ .t2-mini-title — поправьте и здесь. */
  margin-top: 28px;
 }

 .t2 .t2-detail-grid--paid > .t2-notes-panel {
  grid-column: 1;
  grid-row: 2;
 }
}

/* «Стоимость имён и шаблонов» — отдельная панель, как «Примечания».
   Левая колонка устроена сложнее (заголовок → подзаголовок → иногда абзац
   → таблица), и высота этой ступеньки у каждого оператора своя. Равнять
   блоки построчно бессмысленно — на первом же операторе разъедется.
   Поэтому блок оформлен самостоятельным модулем: тогда он и не обязан
   совпадать с ритмом таблиц. Карточки внутри становятся строками. */
.t2 .t2-detail-grid--paid > .t2-fee-section {
 background: var(--t2-gray-100);
 border: 1px solid var(--t2-line);
 border-radius: var(--t2-radius);
 padding: 24px;
}

.t2 .t2-detail-grid--paid > .t2-fee-section > .t2-op-section-title {
 font-size: 18px;
 margin-bottom: 20px;
}

.t2 .t2-detail-grid--paid > .t2-fee-section .t2-fee-cards {
 gap: 0;
}

.t2 .t2-detail-grid--paid > .t2-fee-section .t2-fee-card {
 border: 0;
 border-radius: 0;
 padding: 0;
 background: transparent;
}

.t2 .t2-detail-grid--paid > .t2-fee-section .t2-fee-card + .t2-fee-card {
 border-top: 1px solid var(--t2-line);
 margin-top: 18px;
 padding-top: 18px;
}

.t2-fee-cards {
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.t2-fee-label {
 font-size: 13px;
 color: var(--t2-ink);
 margin-bottom: 8px;
}

.t2-fee-value {
 font-size: 20px;
 font-weight: 700;
 color: var(--t2-ink);
}

.t2-fee-note {
 color: var(--t2-ink);
}

.t2-notes-panel ol + p,
.t2-notes-panel p + ol {
 margin-top: 4px;
}

.t2 thead th .prompt {
 display: inline-flex;
 align-items: center;
 vertical-align: middle;
 margin-left: 2px;
}

.t2 thead th .prompt .prompt-btn img {
 display: none;
}

.t2 thead th .prompt .prompt-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 16px;
 height: 16px;
 background-color: #8A8C97;
 -webkit-mask-image: url('/local/templates/main/img/icon-info.svg');
 mask-image: url('/local/templates/main/img/icon-info.svg');
 -webkit-mask-size: contain;
 mask-size: contain;
 -webkit-mask-repeat: no-repeat;
 mask-repeat: no-repeat;
 -webkit-mask-position: center;
 mask-position: center;
 border: none !important;
 border-radius: 0 !important;
}

.t2 thead th .prompt .prompt-btn:hover {
 background-color: #E31E24;
}

.t2 .t2-asterisk-note {
 background: #FFF8E6;
 border: 1px solid #F5E4A8;
 border-radius: var(--t2-radius);
 padding: 12px 14px;
 margin-top: 12px;
 font-size: 12.5px;
 line-height: 1.5;
 color: #6B5A1E;
}

.t2 .t2-asterisk-note p {
 margin: 0 0 6px;
}

.t2 .t2-asterisk-note p:last-child {
 margin-bottom: 0;
}

/* В платном имени эта же рамка перекрашена под «Примечания»: отступы
   и размер шрифта остаются прежними, меняются только заливка, обводка
   и цвет текста. Правило ограничено вкладкой платного имени — такая же
   рамка есть в аккордеоне у Билайна, и она остаётся жёлтой. */
.t2 .t2-detail-grid--paid .t2-asterisk-note {
 background: #FDF5F5;
 border-color: #EBC4CC;
 color: #26364a;
}

.t2 .t2-fee-note {
 font-size: 12.5px;
 color: var(--t2-gray-500);
 line-height: 1.5;
 margin: 8px 0;
}

.t2 .t2-notes-callout {
 background: #fff;
 border: 1px solid var(--t2-info-line);
 border-radius: 8px;
 padding: 14px 16px;
 margin: 12px 0;
}

.t2 .t2-notes-callout-title {
 font-weight: 700;
 margin-bottom: 6px;
}

.t2 .t2-notes-callout p {
 margin: 0 0 8px;
}

.t2 .t2-notes-callout p:last-child {
 margin-bottom: 0;
}

.t2 .t2-notes-callout a {
 color: var(--t2-info-ink);
 font-weight: 600;
}

/* ==========МОДАЛКА МЕЖДУНАРОДНЫХ ИМЁН=========== */

.tf-modal {
 display: none;
}

.tf-modal.tf-modal--open {
 display: block;
}

.tf-modal__overlay {
 position: fixed;
 inset: 0;
 background: rgba(17, 19, 24, 0.5);
 z-index: 10000;
}

.tf-modal__block {
 position: fixed;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 background: #fff;
 border-radius: 12px;
 padding: 32px;
 max-width: 480px;
 width: 90%;
 max-height: 80vh;
 overflow-y: auto;
 z-index: 10001;
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tf-modal__block .title-md {
 margin-bottom: 32px;
}

/* У этой модалки под заголовком идёт подзаголовок со своим отступом 32px */
.tf-modal--individual .title-md {
 margin-bottom: 12px;
}

/* Подпись поля задачи занимает две строки — в штатные 48px её режет снизу */
.tf-modal--individual .label_textarea .textarea {
 min-height: 72px;
}

/* Галочку согласия шаблон ищет в /local/templates/img/cheker.svg — файла там нет
 (404), настоящий лежит в /local/templates/main/img/. Дефект общесайтовый,
 здесь чиним только в пределах этой модалки */
.tf-modal--individual .checkbox-data::before {
 content: url("/local/templates/main/img/cheker.svg");
}

/* Общесайтовое правило даёт кнопке форм фиксированные 356px —
 в этой модалке она должна совпадать по ширине с полями */
.tf-modal--individual .form-modal .btn-2 {
 width: 100%;
}

/* Окно «Спасибо» после отправки — общесайтовое, по умолчанию выезжает
 панелью справа. На этой странице показываем его так же, как модалку
 заявки: карточкой по центру. Вес селекторов с запасом — style_tariff.css
 подключается раньше стилей шаблона, при равном весе побеждает шаблон */
.modal.modal-thank .modal-block {
 position: fixed;
 top: 50%;
 left: 50%;
 bottom: auto;
 transform: translate(-50%, -50%);
 width: 90%;
 max-width: 480px;
 max-height: 80vh;
 padding: 32px;
 border-radius: 12px;
 box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

/* Выезд справа шаблон делает анимацией right: -100% → 0 */
.modal.modal-thank.open .modal-block {
 animation: none;
}

.modal.modal-thank .modal-block .title-md {
 margin-bottom: 12px;
}

.modal.modal-thank .modal-block .modal-text {
 margin-bottom: 0;
}

/* Крестик шаблона — 44px, для карточки крупный */
.modal.modal-thank .close-modal {
 top: 16px;
 right: 16px;
 width: 24px;
 height: 24px;
}

.modal.modal-thank .close-modal::before,
.modal.modal-thank .close-modal::after {
 width: 18px;
 height: 2px;
 background: #999;
}

/* На десктопе шапка модалок мельче общесайтовой (30px и 20px):
 окно с формой на пять полей иначе получается слишком длинным */
@media (min-width: 761px) {
 .tf-modal--individual .title-md,
 .modal.modal-thank .title-md {
 font-size: 24px;
 line-height: 30px;
 }
 .tf-modal--individual .modal-text,
 .modal.modal-thank .modal-text {
 font-size: 16px;
 line-height: 24px;
 }
}

.tf-modal__block .form-modal .label,
.tf-modal__block .form-modal .select {
 width: 100%;
}

.tf-modal__block .form-modal .input {
 width: 100%;
 box-sizing: border-box;
}

.tf-modal__block .form-modal .select-sort {
 width: 100%;
 box-sizing: border-box;
}

.tf-modal__close {
 position: absolute;
 top: 16px;
 right: 16px;
 width: 24px;
 height: 24px;
 cursor: pointer;
}

.tf-modal__close::before,
.tf-modal__close::after {
 content: "";
 position: absolute;
 width: 18px;
 height: 2px;
 background: #999;
 top: 50%;
 left: 50%;
}

.tf-modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.tf-modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.tf-modal__block .opetator-autocomplete {
 height: 280px;
 overflow-y: auto;
}

/* ==========УСЛОВИЯ ПОДКЛЮЧЕНИЯ=========== */

html, body {
 overflow-x: hidden;
}

.t2 .t2-connection-section {
 background: #F7F8FC;
 box-sizing: border-box;
 margin-top: 82px;
}

.t2 .t2-connection-title {
 font-size: 32px;
 font-weight: 800;
 margin-bottom: 16px;
}

.t2 .t2-connection-subtitle {
 font-size: 20px;
 font-weight: 600;
 color: var(--t2-ink);
 margin-bottom: 24px;
}

.t2 .t2-compare-cards {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 24px;
 margin-bottom: 32px;
}

.t2 .t2-compare-card {
 border: 1px solid var(--t2-line);
 border-radius: var(--t2-radius);
 padding: 20px;
 background: #fff;
}

.t2 .t2-compare-card__head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 font-weight: 700;
 font-size: 16px;
 margin-bottom: 24px;
}

.t2 .t2-compare-card__price {
 background: var(--t2-info-bg);
 color: var(--t2-info-ink);
 font-size: 14px;
 font-weight: 700;
 padding: 8px 16px;
 border-radius: 8px;
}

.t2 .t2-compare-list {
 list-style: none;
 margin: 0 0 16px;
 padding: 0;
}

.t2 .t2-compare-list li {
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 8px 0;
 font-size: 14px;
 line-height: 1.5;
 color: var(--t2-ink);
 border-bottom: 1px solid var(--t2-line);
}

.t2 .t2-compare-list li:first-child {
 padding-top: 0;
}

.t2 .t2-compare-list li:last-child {
 border-bottom: none;
 padding-bottom: 0;
}

.t2 .t2-compare-list li img {
 width: 24px;
 height: 24px;
 flex: none;
}

.t2 .t2-compare-card__note {
 background: var(--t2-info-bg);
 border-radius: 8px;
 padding: 12px 14px;
 font-size: 14px;
 color: var(--t2-info-ink);
}

.t2 .t2-connection-table th,
.t2 .t2-connection-table td {
 white-space: normal;
}

.t2 .t2-connection-table thead th {
 background: #ffffff;
}

.t2 .t2-connection-table tbody tr {
 background: #ffffff;
}

.t2 .t2-connection-table thead th:nth-child(1),
.t2 .t2-connection-table thead th:nth-child(2) {
 border-right: 1px solid var(--t2-line);
}

.t2 .t2-connection-table thead tr:nth-child(2) th:nth-child(3) {
 border-right: 1px solid var(--t2-line);
}

.t2 .t2-connection-table th:nth-child(2),
.t2 .t2-connection-table td:nth-child(2) {
 width: 15%;
}

.t2 .t2-connection-table thead tr:nth-child(2) th:nth-child(4),
.t2 .t2-connection-table tbody td:nth-child(6) {
 width: 30%;
}
.t2 .t2-connection-table thead th[colspan] {
 text-align: center;
}

.t2 .t2-badge {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 padding: 4px 8px;
 border-radius: 4px;
 font-size: 12px;
 font-weight: 600;
}

.t2 .t2-badge--common {
 background: var(--t2-gray-100);
 color: var(--t2-gray-700);
}

.t2 .t2-badge--own {
 background: #E8F7EE;
 color: #1C8A4C;
}

.t2 .t2-check-item {
 font-size: 14px;
 color: #1C8A4C;
 margin-bottom: 4px;
 white-space: nowrap;
text-align: left;
}
.t2 .t2-connection-table td:last-child {
 color: var(--t2-ink);
 line-height: 1.5;
}

.t2 .t2-connection-table td:last-child .t2-check-item:last-of-type {
 margin-bottom: 8px;
}

/* ==========АККОРДЕОН: ПОДРОБНЫЕ УСЛОВИЯ ТАРИФИКАЦИИ=========== */

.t2-connection-section--accordion {
 background: #F7F8FC;
 margin-top: 0;
 padding: 0;
}

.t2-accordion-item {
 border: 1px solid var(--t2-line);
 border-radius: var(--t2-radius);
 background: #fff;
 margin-bottom: 12px;
 overflow: hidden;
}

.t2-accordion-head {
 display: flex;
 align-items: center;
 gap: 12px;
 width: 100%;
 padding: 20px;
 border: none;
 background: none;
 cursor: pointer;
 font-size: 20px;
 font-weight: 600;
 color: var(--t2-ink);
 font-family: inherit;
 text-align: left;
}

.t2-accordion-head img {
 width: 28px;
 height: 28px;
 object-fit: contain;
}

.t2-accordion-chevron {
 margin-left: auto;
 transition: transform 0.15s ease;
 flex: none;
}

.t2-accordion-item.is-open .t2-accordion-chevron {
 transform: rotate(180deg);
}

.t2-accordion-body {
 padding: 0 20px 24px;
}

.t2-accordion-subtabs {
 display: flex;
 gap: 8px;
 margin-bottom: 20px;
}

.t2-accordion-subtab {
 padding: 9px 16px;
 border-radius: 8px;
 border: 1px solid #DADADA;
 background: #fff;
 color: #6E6E6E;
 font-size: 14px;
 font-weight: 500;
 cursor: pointer;
 font-family: inherit;
 margin-top: 16px;
}

.t2-accordion-subtab.active {
 background: #000;
 border-color: #000;
 color: #fff;
}

.t2-accordion-grid {
 display: grid;
 grid-template-columns: 1fr 2fr;
 gap: 32px;
 align-items: start;
}

.t2-accordion-meta-title {
 font-size: 18px;
 font-weight: 700;
 margin-bottom: 24px;
}

.t2-accordion-meta-row {
 font-size: 14px;
 margin-bottom: 16px;
}

.t2-accordion-meta p {
 font-size: 14px;
 color: var(--t2-gray-700);
 margin: 8px 0 0;
 line-height: 1.8;
}

.t2-accordion-body thead th {
 background: #ffffff;
}

.t2-accordion-body .t2-mini-card table th:nth-child(2),
.t2-accordion-body .t2-mini-card table td:nth-child(2) {
 text-align: right;
}


/* ==========БУДУЩИЕ ЦЕНЫ===========
 Новая цена — оранжевым под текущей, «с ДД.ММ.ГГГГ» — под названием.
 Разметку выводит sms/price-changes.php. #A65700 — контраст 5,3:1 на белом */

.t2 {
 --t2-next: #A65700;
}
.t2 .t2-op-name-col {
 display: flex;
 flex-direction: column;
 line-height: 1.3;
}
/* В аккордеоне «общее имя» — строкой под названием, как в основной таблице */
.t2 .t2-accordion-body td:first-child .t2-op-tag {
 display: block;
}
.t2 .t2-price-next,
.t2 .t2-price-from {
 display: block;
 margin-top: 4px;
 font-size: 13px;
 font-weight: 400;
 line-height: 1.3;
 color: var(--t2-next);
 white-space: nowrap;
}
/* Строка, у которой есть только будущая цена (сервисные «Первое/Второе SMS»
 у Билайна): цена встаёт на строку названия, а не под ней */
.t2 .t2-price-only .t2-price-next {
 margin-top: 0;
}
/* В карточке абонентской платы, мета-блоке аккордеона и таблице
 подключения новая цена идёт с датой — длиннее, переносится */
.t2 .t2-fee-value .t2-price-next,
.t2 .t2-accordion-meta-row .t2-price-next,
.t2 .t2-connection-table .t2-price-next {
 white-space: normal;
}
.t2 .t2-fee-value .t2-price-next,
.t2 .t2-accordion-meta-row .t2-price-next {
 margin-top: 6px;
 font-size: 14px;
}
.t2 .t2-nowrap {
 white-space: nowrap;
}


/* =====================================================
 АДАПТИВ
 ≤1279px — небольшие ноутбуки
 ≤1023px — планшеты
 ≤760px  — мобильные
 --t2-gutter повторяет боковой отступ .wrapper сайта:
 20px до 499px, 6% до 899px
===================================================== */

/* Таблица шире карточки — прокручивается внутри неё, а не обрезается */
.t2 .t2-table-card,
.t2 .t2-mini-card {
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}

/* Длинный заголовок первой колонки переносится, если не хватает места */
.t2 .t2-mini-card thead th:first-child {
 white-space: normal;
}

/* Аккордеон: в таблице цен (от 4 колонок) суммы выровнены влево, как в основной
 таблице; в таблицах на 2–3 колонки все значения выровнены вправо */
.t2-accordion-body .t2-mini-card table:has(th:nth-child(4)) th:nth-child(2),
.t2-accordion-body .t2-mini-card table:has(th:nth-child(4)) td:nth-child(2) {
 text-align: left;
}
.t2-accordion-body .t2-mini-card table:not(:has(th:nth-child(4))) th:nth-child(3),
.t2-accordion-body .t2-mini-card table:not(:has(th:nth-child(4))) td:nth-child(3) {
 text-align: right;
}


/* ---------- Ноутбуки ≤1279px ---------- */

@media (max-width: 1279px) {
 /* Платное имя — таблицы на всю ширину, примечания под ними */
 .t2 .t2-detail-grid--paid {
 grid-template-columns: minmax(0, 1fr);
 gap: 24px;
 }

 /* Аккордеон операторов — описание над таблицей */
 .t2 .t2-accordion-grid {
 grid-template-columns: minmax(0, 1fr);
 gap: 24px;
 }
}


/* ---------- Планшеты ≤1023px ---------- */

@media (max-width: 1023px) {
 /* Табы компактнее — на планшете каналы помещаются в одну строку */
 .t2 .t2-tab {
 font-size: 15px;
 padding: 10px 14px;
 }

 .t2 .t2-filters {
 gap: 24px;
 }

 .t2 table {
 font-size: 13px;
 }
 .t2 thead th,
 .t2 tbody td {
 padding: 10px;
 }
 .t2 thead th:first-child,
 .t2 .t2-note-row td[colspan] {
 white-space: normal;
 }

 /* Условия подключения — ширина колонок по содержимому, а не по 20%:
 колонки с плашками уже, колонки с текстом шире */
 .t2 .t2-connection-table {
 table-layout: auto !important;
 }
 .t2 .t2-connection-table col {
 width: auto !important;
 }
 .t2 .t2-connection-table .t2-badge {
 white-space: nowrap;
 }

 /* Будущие цены — на ступень мельче текста таблицы */
 .t2 .t2-price-next,
 .t2 .t2-price-from {
 font-size: 12px;
 }

 .t2 .t2-detail-grid,
 .t2 .t2-detail-grid--beeline {
 grid-template-columns: minmax(0, 1fr);
 }

 /* Голубые плашки-примечания — уменьшенный текст */
 .t2 .t2-info-banner,
 .t2 .t2-notes-panel,
 .t2 .t2-compare-card__note {
 font-size: 12px;
 }

 /* Заголовки блоков — единый размер на планшете/мобильном */
 .t2 .t2-op-section-title {
 font-size: 20px;
 margin-bottom: 16px;
 }

 .t2 .t2-check-item {
 font-size: 13px;
 }
 .t2 .t2-connection-table,
 .t2 .t2-connection-table th,
 .t2 .t2-connection-table td {
 font-size: 12px;
 }

 /* Платное имя — сайдбар уже */
 .t2 .t2-paid-layout {
 gap: 24px;
 }
 .t2 .t2-paid-sidebar {
 flex-basis: 180px;
 }
}


/* ---------- Мобильные ≤760px ---------- */

@media (max-width: 760px) {
 .t2 {
 --t2-gutter: 6vw;
 }

 /* CTA — под заголовком во всю ширину: рядом с «Тарифы» он уже не помещается */
 .title-block.t2-has-cta {
 gap: 12px;
 }
 .t2-btn-primary.is-placed {
 display: flex;
 width: 100%;
 justify-content: center;
 }

 /* Табы каналов, типа имени и подтабы аккордеона — одна строка
 с горизонтальным скроллом, строка выходит под край экрана */
 .t2 .t2-tabrow,
 .t2 .t2-accordion-subtabs,
 .t2 .t2-paid-sidebar {
 flex-wrap: nowrap;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 }
 .t2 .t2-tabrow::-webkit-scrollbar,
 .t2 .t2-accordion-subtabs::-webkit-scrollbar,
 .t2 .t2-paid-sidebar::-webkit-scrollbar {
 display: none;
 }
 .t2 .t2-tabrow .t2-tab,
 .t2 .t2-accordion-subtab,
 .t2 .t2-paid-side-item {
 flex: 0 0 auto;
 white-space: nowrap;
 }
 .t2 .t2-tabrow {
 margin-left: calc(-1 * var(--t2-gutter));
 margin-right: calc(-1 * var(--t2-gutter));
 padding: 0 var(--t2-gutter) 4px;
 }
 /* у табов типа имени в разметке стоит style="margin:0" */
 .t2 #t2-type-tabs {
 margin-left: calc(-1 * var(--t2-gutter)) !important;
 margin-right: calc(-1 * var(--t2-gutter)) !important;
 }

 /* Фильтры — друг под другом, на всю ширину */
 .t2 .t2-filters {
 flex-direction: column;
 flex-wrap: nowrap;
 align-items: stretch;
 gap: 20px;
 margin: 20px 0;
 }
 .t2 .t2-filter-block {
 min-width: 0;
 }
 .t2 .t2-select {
 width: 100%;
 }
 .t2 .t2-filter-block--intl-actions {
 margin-left: 0;
 flex-direction: column;
 gap: 8px;
 }
 .t2 .t2-btn-outline {
 justify-content: center;
 padding: 12px 16px;
 }

 .t2 .t2-info-banner {
 padding: 12px 14px;
 margin-bottom: 20px;
 }

 /* Таблицы цен — колонка оператора закреплена слева, цены листаются.
 Тень у правого края — в блоке «Таблицы с суммами» ниже */
 .t2 .t2-table-card {
 margin-bottom: 40px;
 }
 .t2 table:not(.t2-connection-table):has(th:nth-child(4)) {
 border-collapse: separate;
 border-spacing: 0;
 }
 .t2 table:not(.t2-connection-table):has(th:nth-child(4)) :is(th, td):first-child {
 position: sticky;
 left: 0;
 z-index: 1;
 width: 152px;
 min-width: 152px;
 box-shadow: 1px 0 0 var(--t2-line);
 }
 .t2 table:not(.t2-connection-table):has(th:nth-child(4)) td:first-child {
 background: #fff;
 }
 .t2 table:not(.t2-connection-table):has(th:nth-child(4)) th:not(:first-child) {
 min-width: 76px;
 }
 /* В аккордеоне в первой колонке только название, без логотипа — колонка уже */
 .t2 .t2-accordion-body table:has(th:nth-child(4)) :is(th, td):first-child {
 width: 112px;
 min-width: 112px;
 }
 /* Таблицы на 2–3 колонки помещаются по ширине — текст в ячейках переносится.
 В двухколоночных значение не переносится, переносится подпись */
 .t2 table:not(.t2-connection-table):not(:has(th:nth-child(4))) :is(th, td) {
 white-space: normal;
 }
 .t2 table:not(.t2-connection-table):not(:has(th:nth-child(3))) td:not(:first-child) {
 white-space: nowrap;
 }
 .t2 .t2-op-cell {
 gap: 8px;
 }
 .t2 .t2-op-cell img {
 width: 22px;
 height: 22px;
 }

 /* Строка Билайна: текст переносится в пределах видимой части таблицы.
 610px = 152px (колонка оператора) + 6 колонок цен × 76px + 2px рамка.
 Если в таблице станет больше колонок цен — прибавить по 76px */
 .t2 .t2-note-row td[colspan] {
 white-space: normal;
 line-height: 1.4;
 overflow-wrap: anywhere;
 -webkit-hyphens: auto;
 hyphens: auto;
 padding-right: max(10px, calc(610px + 2 * var(--t2-gutter) - 100vw));
 }

 /* Примечания */
 .t2 .t2-notes-panel {
 padding: 16px 16px 20px;
 line-height: 1.6;
 }
 .t2 .t2-notes-title {
 font-size: 16px;
 margin-bottom: 16px;
 }
 .t2 .t2-notes-panel ol {
 margin-top: 16px;
 }

 /* Платное имя — операторы строкой со скроллом, карточки в один столбец */
 .t2 .t2-paid-layout {
 flex-direction: column;
 align-items: stretch;
 gap: 20px;
 }
 .t2 .t2-paid-sidebar {
 flex: none;
 flex-direction: row;
 width: 100%;
 }
 .t2 .t2-paid-side-item {
 padding: 10px 14px;
 }
 .t2 .t2-fee-value {
 font-size: 17px;
 }
 .t2 .t2-op-block--fee {
 margin-bottom: 48px;
 }

 /* Условия подключения */
 .t2 .t2-connection-section {
 margin-top: 48px;
 }
 .t2 .t2-connection-title {
 font-size: 24px;
 margin-bottom: 12px;
 }
 .t2 .t2-connection-subtitle {
 font-size: 16px;
 margin-bottom: 16px;
 }
 .t2 .t2-compare-cards {
 grid-template-columns: 1fr;
 gap: 16px;
 }
 .t2 .t2-compare-card {
 padding: 16px;
 }
 .t2 .t2-compare-card__head {
 margin-bottom: 16px;
 }

 /* Таблицы «Условия подключения» и «Стоимость шаблонов» — карточка
 на каждого оператора. Подписи берутся из CSS: если в шапке таблицы
 меняется текст, его нужно поменять и здесь */
 .t2 .t2-connection-table,
 .t2 .t2-connection-table tbody,
 .t2 .t2-connection-table tr {
 display: block;
 }
 .t2 .t2-connection-table colgroup,
 .t2 .t2-connection-table thead {
 display: none;
 }
 .t2 .t2-connection-table tbody tr {
 padding: 14px 16px;
 border-bottom: 1px solid var(--t2-line);
 }
 .t2 .t2-connection-table tbody tr:last-child {
 border-bottom: none;
 }
 .t2 .t2-connection-table tbody td:nth-child(n) {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
 gap: 0 12px;
 align-items: baseline;
 justify-items: start;
 width: auto;
 padding: 5px 0;
 border: none;
 font-size: 13px;
 }
 .t2 .t2-connection-table tbody td:first-child {
 display: block;
 padding: 0 0 8px;
 font-size: 15px;
 }
 .t2 .t2-connection-table tbody td::before {
 color: var(--t2-gray-500);
 }
 .t2 .t2-connection-section > .t2-table-card .t2-connection-table td:nth-child(2)::before { content: "Бесплатное имя"; }
 .t2 .t2-connection-section > .t2-table-card .t2-connection-table td:nth-child(3)::before { content: "Платное имя"; }
 .t2 .t2-connection-section > .t2-table-card .t2-connection-table td:nth-child(4)::before { content: "Абонентская плата"; }
 .t2 .t2-connection-section > .t2-table-card .t2-connection-table td:nth-child(5)::before { content: "Срок регистрации"; }
 .t2 .t2-templates-price-section .t2-connection-table td:nth-child(2)::before { content: "Шаблоны"; }
 .t2 .t2-templates-price-section .t2-connection-table td:nth-child(3)::before { content: "Стоимость шаблона"; }
 /* новая абонентская плата — под значением, во второй колонке карточки */
 .t2 .t2-connection-table td .t2-price-next {
 grid-column: 2;
 }
 /* в аккордеоне первая колонка узкая — «Мотив общее имя» переносится */
 .t2 .t2-accordion-body table:has(th:nth-child(4)) td:first-child {
 white-space: normal;
 }

 /* Аккордеон операторов */
 .t2 .t2-accordion-head {
 padding: 16px;
 gap: 10px;
 font-size: 16px;
 }
 .t2 .t2-accordion-head img {
 width: 24px;
 height: 24px;
 }
 .t2 .t2-accordion-body {
 padding: 0 16px 16px;
 }
 .t2 .t2-accordion-subtabs {
 margin: 0 -16px 16px;
 padding: 0 16px;
 }
 .t2 .t2-accordion-meta-title {
 font-size: 16px;
 margin-bottom: 16px;
 }
 .t2 .t2-accordion-meta-row {
 margin-bottom: 12px;
 }

 /* Модалки: международные имена, заявка, «Спасибо» */
 .tf-modal__block,
 .modal.modal-thank .modal-block {
 width: calc(100% - 32px);
 padding: 24px 20px;
 }
}

@media (max-width: 499.98px) {
 .t2 {
 --t2-gutter: 20px;
 }
}


/* ---------- Таблицы с суммами: тень и подсказка ----------
 Обёртку .t2-scroll и подсказку добавляет tariff-new.js.
 Тень видна, пока таблица шире экрана и её не долистали до конца */

.t2 .t2-scroll {
 position: relative;
}
.t2 .t2-scroll::after {
 content: "";
 position: absolute;
 top: 1px;
 right: 1px;
 bottom: 1px;
 z-index: 2;
 width: 40px;
 border-radius: 0 var(--t2-radius) var(--t2-radius) 0;
 background: linear-gradient(to right, rgba(17, 19, 24, 0), rgba(17, 19, 24, 0.14));
 pointer-events: none;
 opacity: 0;
 transition: opacity 0.2s ease;
}
.t2 .t2-scroll.is-scrollable:not(.is-end)::after {
 opacity: 1;
}

/* Подсказка «Таблицу можно листать вбок» — один раз, на телефоне */
.t2 .t2-scroll-hint {
 position: fixed;
 inset: 0;
 z-index: 10000;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 16px;
 background: rgba(17, 19, 24, 0.5);
 opacity: 0;
 transition: opacity 0.2s ease;
}
.t2 .t2-scroll-hint.is-visible {
 opacity: 1;
}
.t2 .t2-scroll-hint__card {
 width: 100%;
 max-width: 311px;
 overflow: hidden;
 border-radius: 16px;
 background: #fff;
 box-shadow: 0 16px 40px rgba(17, 19, 24, 0.28);
 text-align: center;
 transform: translateY(8px);
 transition: transform 0.2s ease;
}
.t2 .t2-scroll-hint.is-visible .t2-scroll-hint__card {
 transform: none;
}
.t2 .t2-scroll-hint__art {
 display: block;
 width: 100%;
 height: auto;
}
.t2 .t2-scroll-hint__hand {
 animation: t2-scroll-hint-swipe 1.6s ease-in-out infinite;
}
.t2 .t2-scroll-hint__body {
 padding: 14px 20px 20px;
}
.t2 .t2-scroll-hint__title {
 margin: 0 0 6px;
 font-size: 16px;
 font-weight: 700;
 line-height: 1.35;
 color: var(--t2-ink);
}
.t2 .t2-scroll-hint__text {
 margin: 0 0 20px;
 font-size: 13px;
 line-height: 1.5;
 color: var(--t2-gray-700);
}
.t2 .t2-scroll-hint__btn {
 display: block;
 width: 100%;
 padding: 13px 16px;
 border: none;
 border-radius: 8px;
 background: #000;
 color: #fff;
 font-size: 15px;
 font-weight: 600;
 cursor: pointer;
}

@keyframes t2-scroll-hint-swipe {
 0%, 100% { transform: translateX(-10px); }
 50% { transform: translateX(10px); }
}

@media (prefers-reduced-motion: reduce) {
 .t2 .t2-scroll-hint,
 .t2 .t2-scroll-hint__card {
 transition: none;
 }
 .t2 .t2-scroll-hint__hand {
 animation: none;
 }
}
