table {
            width: 100%;
            border-collapse: collapse;
            font-family: Arial, sans-serif;
            min-width: 1200px;
        }
        
        th, td {
            border: 1px solid #ccc;
            padding: 8px 12px;
            text-align: left;
        }
        
        th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        /* узкий столбец - № п/п */
        th:first-child,
        td:first-child {
            width: 60px;
            min-width: 60px;
            max-width: 60px;
        }
        
        /* столбец 3 - ШИРОКИЙ */
        th:nth-child(3),
        td:nth-child(3) {
            width: 30%;
            min-width: 250px;
        }
        
        /* столбец 4 */
        th:nth-child(4),
        td:nth-child(4) {
            width: 25%;
            min-width: 200px;
        }
        
        /* столбец 2 */
        th:nth-child(2),
        td:nth-child(2) {
            width: 15%;
            min-width: 150px;
        }
        
        /* столбец 5 */
        th:nth-child(5),
        td:nth-child(5) {
            width: 15%;
            min-width: 150px;
        }
        
        /* столбец 6 и 7 + кнопки */
        th:nth-child(6),
        td:nth-child(6),
        th:nth-child(7),
        td:nth-child(7) {
            width: 7.5%;
            min-width: 80px;
            text-align: center;
        }
        
        /* заголовок раздела */
        .section-header td {
            background-color: #e6f2ff;
            font-weight: bold;
            text-align: center;
            width: auto;
        }
        
        /* повторяющиеся заголовки столбцов */
        .repeated-header th {
            background-color: #f2f2f2;
            font-weight: bold;
            border-top: none;
            text-align: center;
            vertical-align: middle;
        }
        
        /* центр для № п/п в заголовках */
        .repeated-header th:first-child {
            text-align: center;
        }
        
        /* стиль для номеров */
        .number-cell {
            text-align: center;
            font-weight: bold;
        }
        
        /* тиль для ячеек с rowspan ВЫРАВНИВАЮ по верху */
        td[rowspan] {
            vertical-align: top;
        }
        
        /* центри кнопки во втором разделе на десктопе */
        td[colspan="3"],
        td[colspan="2"] {
            text-align: center;
        }
        
        /* скрыть мобильные заголовки на десктопе */
        .mobile-label {
            display: none;
        }
        
        /* Скрываем ячейки с классом mobile-only на десктопе */
        .mobile-only {
            display: none !important;
        }
        
        /* мобильная версия */
        @media screen and (max-width: 768px) {
            table {
                min-width: 100%;
                display: block;
                width: 100%;
                border: none;
            }
            
            /* скрытые заголовки */
            thead,
            .repeated-header {
                display: none !important;
            }
            
            /* сбрасываем все десктоп стили */
            th, td {
                display: block;
                width: 100% !important;
                min-width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box;
                border: none !important;
                padding: 0 !important;
                text-align: left !important;
                background: none !important;
            }
            
            /* Показываем ячейки mobile-only на мобильных */
            .mobile-only {
                display: block !important;
            }
            
            /* стили для заголовков  */
            .section-header {
                display: block !important;
                width: 100%;
                margin: 30px 0 15px 0;
                background-color: #0b4da2;
                border: none;
                border-radius: 6px;
                padding: 12px;
                text-align: center;
                font-weight: bold;
                font-size: 18px;
                color: white;
            }
            
            .section-header:first-child {
                margin-top: 0;
            }
            
            .section-header td {
                display: block;
                padding: 0 !important;
                color: white;
                font-size: 18px;
                line-height: 1.4;
            }
            
            /* строки в блоки */
            tbody tr:not(.section-header) {
                display: block;
                width: 100%;
                margin-bottom: 20px;
                border: 1px solid #ddd;
                border-radius: 6px;
                padding: 15px;
                background-color: #fff;
            }
            
            /* стили для ячеек (моб) */
            tbody tr:not(.section-header) td {
                display: block;
                width: 100% !important;
                padding: 12px 0 !important;
                border-bottom: 1px solid #eee !important;
                word-wrap: break-word;
                word-break: normal;
                white-space: normal;
                line-height: 1.5;
                position: relative;
                padding-left: 0 !important;
                color: #333;
                font-size: 14px;
            }
            
            /*  */
            tbody tr:not(.section-header) td:last-child {
                border-bottom: none !important;
            }
            
            /* МОБИЛЬНЫЕ ЗАГОЛОВКИ - показываем */
            .mobile-label {
                display: block;
                font-weight: bold;
                color: #0b4da2;
                margin-bottom: 5px;
                font-size: 15px;
                padding-bottom: 3px;
                border-bottom: 1px solid #e6f2ff;
            }
            
            /* стиль номера */
            .number-cell {
                text-align: left;
                padding-top: 5px !important;
                color: #333;
                font-size: 14px;
                font-weight: bold;
                background-color: #f0f7ff;
                padding: 10px 15px !important;
                margin: -15px -15px 15px -15px;
                border-radius: 6px 6px 0 0;
                border-bottom: 2px solid #0b4da2;
            }
            
            .number-cell .mobile-label {
                display: inline;
                color: #0b4da2;
                font-weight: bold;
                margin-right: 5px;
            }
            
            /* кнопки */
            td a {
                display: inline-block;
                padding: 6px 12px !important;
                background-color: #0b4da2 !important;
                color: white !important;
                text-decoration: none !important;
                border-radius: 4px !important;
                font-weight: bold !important;
                margin-top: 8px;
                text-align: center;
            }
            
            /* кнопки по центру */
            td:has(a) {
                text-align: center !important;
                padding-top: 15px !important;
            }
            
            /* Для ячеек с colspan - центрируем кнопки  */
            td[colspan] {
                text-align: center !important;
            }
            
            td[colspan] a {
                display: inline-block !important;
                width: auto !important;
                margin: 0 5px;
            }
            
            /* стили для ячеек с rowspan */
            td[rowspan] {
                background-color: #f8f9fa;
                border-bottom: 1px solid #ddd !important;
            }
            
            /* Для строк с rowspan - показываем все ячейки */
            tr.rowspan-child {
                margin-top: 0;
                padding-top: 0;
                border-top: none;
                background-color: transparent;
            }
            
            /* rowspan строки - добавляем отступ и границу */
            tr:has(+ .rowspan-child) {
                margin-bottom: 5px !important;
            }
            
            .rowspan-child {
                margin-top: -5px;
                padding-top: 10px;
                border-top: 1px dashed #ddd;
                background-color: #fafafa;
            }
            
            /* показываем все ячейки в rowspan-child */
            .rowspan-child td {
                display: block !important;
            }
            
            /* маркер для подстрок rowspan */
            .rowspan-child td:first-child::before {
                content: "↳ ";
                color: #0b4da2;
                font-weight: bold;
                margin-right: 5px;
            }
            
            /* ячейкт без data-label  */
            tbody tr:not(.section-header) td:not([data-label])::before {
                display: none;
            }
        }
        
        /*  очень маленькие экраны */
        @media screen and (max-width: 480px) {
            tbody tr:not(.section-header) {
                padding: 12px;
                margin-bottom: 15px;
            }
            
            tbody tr:not(.section-header) td {
                font-size: 14px;
                padding: 10px 0 !important;
            }
            
            .section-header {
                font-size: 16px;
                margin: 25px 0 12px 0;
                padding: 10px;
            }
            
            .section-header td {
                font-size: 16px;
            }
            
            .mobile-label {
                font-size: 14px;
            }
            
            .number-cell {
                padding: 8px 12px !important;
                margin: -12px -12px 12px -12px;
                font-size: 15px;
            }
            
            td a {
                padding: 6px 12px !important;
                font-size: 14px !important;
            }
        }
        
        /*  средниеэкраны  */
        @media screen and (min-width: 769px) and (max-width: 1199px) {
            table {
                min-width: 100%;
            }
            
            th, td {
                padding: 6px 8px;
                font-size: 14px;
            }
        }