:root {
    --font-s: 14px;
    --h: 26.67px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: helvetica, sans-serif;
}

.root-wrapper {
    width: 739.6px;
    margin: 27px 25px 130px 28px;
    border: 1px solid #000;
    font-size: var(--font-s);
}

.row-1 {
    display: flex;
    height: 80px;
    
}

.a-1 {
    flex: 1 1 205.8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    font-weight: 700;
    border-right: 1px solid #000;
    height: 80px;
}

.a-2 {
    flex: 1 1 533.8px;
    display: flex;
    flex-direction: column;
    height: 80px;
    font-size: 14px;
}

.a-2-1 {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    height: 26.67px;
    padding-left: 6.67px;
}

.a-2-2 {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    height: 26.67px;
    padding-left: 6.67px;
}

.a-2-3 {
    display: flex;
    align-items: center;
    height: 26.67px;
}

.a-2-3-1 {
    display: flex;
    align-items: center;
    flex: 1 1 300px;
    border-right: 1px solid #000;
    height: 100%;
    padding-left: 6.67px;
}

.a-2-3-2 {
    flex: 1 1 233.3px;
    padding-left: 6.67px;
}

.row-2 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.b-1 {
    text-align: center;
    padding-top: 5px;
    flex: 1 1 205.33px;
    font-size: 18px;
    font-weight: 700;
    border-right: 1px solid #000;
}

.b-2 {
    flex: 1 1 533.33px;
    align-self: center;
    font-size: 14px;
    padding-left: 6.67px;
}

.row-3 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.c-1 {
    flex: 1 1 93.33px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #000;
    font-size: 14px;
}

.c-2 {
    flex: 1 1 112px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #000;
    font-size: 14px;
}

.c-3 {
    flex: 1 1 300px;
    border-right: 1px solid #000;
    padding-left: 6.67px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.c-4 {
    flex: 1 1 233.3px;
    padding-left: 6.67px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.row-5 {
    border-top: 1px solid #000;
    width: 100%;
    height: 26.67px;
}

.row-6 {
    width: 100%;
    border-top: 1px solid #000;
    height: 26.67px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background-color: rgb(186, 186, 186);
}

.row-7 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--h);
    font-size: 18px;
    font-weight: 700;
    border-top: 1px solid #000;
    height: 26.67px;
}

.row-8 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.d-1 {
    flex: 1 1 205.33px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    border-right: 1px solid #000;
}

.d-2 {
    flex: 1 1 170.67px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    border-right: 1px solid #000;
}

.d-3 {
    flex: 1 1 176px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    border-right: 1px solid #000;
}

.d-4 {
    flex: 1 1 186.67px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
}

.row-9 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.e-1 {
    flex: 1 1 205.33px;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-left: 6.67px;
    font-size: 15px;
}

.e-2 {
    flex: 1 1 170.67px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-right: 6.67px;
    font-size: 15px;
}

.e-3 {
    flex: 1 1 176px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-right: 6.67px;
    font-size: 15px;
}

.e-4 {
    flex: 1 1 186.67px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    padding-right: 6.67px;
    font-size: 15px;
}

.row-10 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.f-1 {
    flex: 1 1 205.33px;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-left: 6.67px;
    font-size: 15px;
}

.f-2 {
    flex: 1 1 170.67px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-right: 6.67px;
    font-size: 15px;
}

.f-3 {
    flex: 1 1 176px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-right: 6.67px;
    font-size: 15px;
}

.f-4 {
    flex: 1 1 186.67px;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: var(--font-s);
    padding-right: 6.67px;
    font-size: 15px;
}

.row-11 {
    display: flex;
    border-top: 1px solid #000;
    height: 26.67px;
}

.g-1 {
    width: 205.33px; 
    max-width: 205.33px; 
    flex: none;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: var(--font-s);
    border-right: 1px solid #000;
    padding-left: 6.67px;
}

.g-2 {
    width: 533.33px;
    max-width: 533.33px;
    flex: none;
    display: flex;
    align-items: center;
    font-size: var(--font-s);
    padding-left: 32.87px;
}
.test {
    border: none;
    justify-content: start;
    padding-left: 32.87px;
}
.test2 {
    font-size: 14px;
}

.row-end {
    height: 37.33px;
    border-bottom: 1px solid #000;
}

@media print {
    * {
        box-sizing: border-box;
    }
    body {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .test {
        border: none;
        padding-left: 32.87px !important;
    }

    .root-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        margin: 0;
    }
    .row-6 {
        background-color: gray; /* Убедитесь, что цвет фона соответствует нужному */
        -webkit-print-color-adjust: exact; /* Для WebKit-браузеров (например, Chrome и Safari) */
        print-color-adjust: exact; /* Для других браузеров */
    }
    .row-7 {
        background-color: rgb(184, 178, 178); /* Убедитесь, что цвет фона соответствует нужному */
        -webkit-print-color-adjust: exact; /* Для WebKit-браузеров (например, Chrome и Safari) */
        print-color-adjust: exact; /* Для других браузеров */
    }
    /* .row-1 {
        height: 115px;
    } */
    .row-2, .row-3, .row-4, .row-5, .row-6, .row-7, .row-8, .row-10, .row-11 {
        height: 30px; /* Увеличиваем высоту строк при печати */
    }
    .test5 {
        height: 48px!important;
    }
}

