:root {
    --size-s: 13.3px;
    --width-s: 39.61%;
    --height-m: 57px;
    --height-s: 21px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p {
    margin-left: 3px;
}
body {
    font-family: Helvetica, sans-serif;
}

.wrapper-root {
    width: 770px;
    height: 140px;
    /* margin: 14px 11px 340px 14.5px; */
}
.header-block {
    border: 1px solid #000;
    margin-bottom: 58.81px;
    /* margin-bottom: 20px; */
}
.a-1 {
    width: 20.69%;
    height: var(--height-m);
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #000;
}
.a-2 {
    width: var(--width-s);
    height: var(--height-m);
    border-right: 1px solid #000;
}
.a-2-text, .a-3-text {
    margin-left: 3px;
    /* font-size: var(--size-s); */
}
.a-1-text {
    font-size: 45px;
}
.a-2-text {
    font-size: 14px;
}
.row-1 {
    display: flex;
    border: 1px solid #000;
}
.a-3 {
    width: var(--width-s);
    height: var(--height-m);
}
.row-2 {
    display: flex;
    width: 100%;
    border: 1px solid #000;
    border-top: none;
}
.b-1 {
    width: 20.69%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #000;
}
.b-1-text {
    width: 138px;
    text-align: center;
    font-size: 14px;
}
.b-2 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.b-3 {
    width: 100%;
    height: var(--height-s);
}
.b-3-text {
    font-size: var(--size-s);
}
.b-4 {
    flex-grow: 1;
    display: flex;
    border-top: 1px solid #000;
}
.b-5 {
    width: 50%;
    height: var(--height-s);
    border-right: 1px solid #000;
}
.b-5-text {
    font-size: var(--size-s);
}
.b-6 {
    height: var(--height-s);
    flex-grow: 1;
}
.b-6-text {
    font-size: var(--size-s);
}
.row-3 {
    display: flex;
    width: 100%;
    height: 46.67px;
}
.c-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    border-top: none;
    flex: 1 1 20.69%;
}
.c-1-1, .c-1-2 {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--size-s);
    flex: 1 1 50%;
}
.c-1-1 {
    border-right: 1px solid #000;
}
.c-2 {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: var(--size-s);
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    flex: 1 1 39.61%;
}
.c-2-1 {
    height: 50%;
}
.c-2-2 {
    display: flex;
    border-top: 1px solid #000;
}
.c-3 {
    display: flex;
    flex-direction: column;
    font-size: var(--size-s);
    flex: 1 1 39.61%;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
.c-3-1 {
    display: flex;
    border-bottom: 1px solid #000;
    height: 50%;
}
.main-block {
    margin: 0 auto;
    width: 694.67px;
    border: 1px solid #000;
}
.header {
    text-align: center;
    background-color: gray;
    font-size: 15px;
    font-weight: bold;
    padding: 2px 0;
}
.row-main {
    display: flex;
    border: 1px solid #000;
    font-size: var(--size-s);
}
.main-item {
    flex: 1 1 562px;
    border-right: 1px solid #000;
    font-size: 11px;
}
.main-item1 {
    flex: 1 1 132px;
    text-align: right;
    padding-right: 1px;
    font-size: 11px;
}
.footer-block {
    text-align: center;
    font-size: 12px;
    margin: 13.48px auto;
    width: 694.67px;
    border: 2px solid #000;
    padding: 3px 5px;
}
.first {
    font-weight: 700;
    text-align: center;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 0; 
    }

    
    body, html {
        width: 100%;
        height: 100%;
        font-size: 11px;
        padding-top: 10px;
        padding-left: 15px;
    }

    .wrapper-root {
        width: 95%;
        height: 95%;
        margin: 0;
    }
    .main-item {
        height: 18px;
        display: flex;
        align-items: center;
        padding-left: 6px;
        font-size: 12px;
    }

    .main-item1 {
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: end;
        padding-right: 2px;
        font-size: 12px;
    }
    .test {
        height: 18px;
    }
    .centre {
        justify-content: center;
    }
    .header {
        background-color: gray; 
        -webkit-print-color-adjust: exact; 
        print-color-adjust: exact;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        padding: 2px 0;
    }
    .first {
        background-color: rgb(184, 178, 178); /* Убедитесь, что цвет фона соответствует нужному */
        -webkit-print-color-adjust: exact; /* Для WebKit-браузеров (например, Chrome и Safari) */
        print-color-adjust: exact; /* Для других браузеров */
    }
}
