/* ===== TABLE LIKE TILDA ===== */

.tn-table-wrap {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.tn-table-scroll {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.tn-table-scroll.is-scrollable {
  overflow-x: auto;
}

.tn-table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  box-sizing: border-box;
  background: #ffffff;
  color: #4d4c4c;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
}

.tn-table th,
.tn-table td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
  background: #ffffff;
  color: #4d4c4c;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

/* Границы основной части */
.tn-table tbody td {
  border-top: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
}

.tn-table tbody tr td:last-child {
  border-right: 1px solid #d9d9d9;
}

.tn-table tbody tr:last-child td {
  border-bottom: 1px solid #d9d9d9;
}

/* Шапка */
.tn-table thead th {
  background: #d9d9d9;
  color: #000000;
  font-weight: 400;
  text-transform: uppercase;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
}

.tn-table thead th:last-child {
  border-right: 1px solid #d9d9d9;
}

/* Светлый разделитель между ячейками шапки */
.tn-table thead th + th {
  border-left-color: #ffffff;
}

/* Скругления */
.tn-table thead th:first-child {
  border-top-left-radius: 16px;
}

.tn-table thead th:last-child {
  border-top-right-radius: 16px;
}

.tn-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.tn-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

/* Мобильная версия */
@media (max-width: 640px) {
  .tn-table,
  .tn-table th,
  .tn-table td {
    font-size: 14px;
    line-height: 1.35;
  }

  .tn-table th,
  .tn-table td {
    padding: 14px 12px;
  }
}

.t-text {
  text-align: justify;
}