/* Основной контейнер таблицы */
.tabk-custom {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
    table-layout: fixed;
}

/* Главный заголовок (Верхняя зеленая строка) */
.tabk-main-title th {
    background-color: #157c2a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center;
    padding: 16px;
    text-transform: uppercase;
    border: 1px solid #157c2a;
}

/* Строки-заголовки групп (Аккордеон) */
.tabk-header {
    background-color: #f5f5f5 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tabk-header:hover {
    background-color: #ededed !important;
}

.tabk-header td {
    color: #1a1a1a !important; /* ЗАДАЧА: почти черный */
    font-weight: 700 !important;
    text-align: center;
    padding: 14px;
    border: 1px solid #e5e5e5;
    text-transform: none; 
}

/* Иконка плюса/минуса */
.tabk-icon {
    display: inline-block;
    width: 18px;
    font-family: monospace;
    margin-right: 5px;
    font-weight: bold;
}



.tabk-child.is-visible {
    display: table-row !important;
}

.tabk-child td {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5;
    color: #1a1a1a; /* ЗАДАЧА: почти черный */
    padding: 12px 10%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
}

/* Колонки внутри данных */
.tabk-col-left {
    width: 66.6%;
    text-align: left;
}

.tabk-col-right {
    width: 33.3%;
    text-align: center;
    font-weight: 600; 
    color: #1a1a1a; /* ЗАДАЧА: почти черный */
}

/* Адаптивность */
@media (max-width: 768px) {
    .tabk-child td {
        padding: 12px 15px;
    }
    .tabk-col-left {
        width: 60%;
    }
    .tabk-col-right {
        width: 40%;
    }
}



/* По умолчанию всё ВИДНО (для роботов) */
.tabk-child {
    display: table-row;
}

/* Скрываем только когда JS загрузился и добавил класс-инициатор */
.tabk-custom.is-initialized .tabk-child {
    display: none;
}

/* Показываем только активные */
.tabk-custom.is-initialized .tabk-child.is-visible {
    display: table-row !important;
}