
    .box,
    .loading-overlay {
        justify-content: center;
    }
    .add,
    .add_in_A,
    .but_center,
    .but_center_A,
    .calc-name,
    .div_center_calcA,
    .img-rutube,
    .img-rutube-indiv,
    .loading-content,
    h3,
    h4,
    legend,
    select {
        text-align: center;
    }

     /* Скрытие строки степени заполнения по умолчанию */
    #sleepStepenZapolnenia.hidden-by-default {
        display: none;
    }
    
    /* Класс для принудительного скрытия */
    .forced-hide {
        display: none !important;
    }
    
    /* Класс для принудительного показа */
    .forced-show {
        display: table-row !important;
    }

	    /* Задаем фиксированную ширину для столбцов таблицы */
    .t_in {
        width: 100%;
        table-layout: fixed; /* Важно! Фиксированная ширина таблицы */
    }
    
    .t_in td.name_in {
        width: 55%; /* Ширина левого столбца с названиями */
    }
    
    .t_in td.in {
        width: 45%; /* Ширина правого столбца с инпутами */
    }
    
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        align-items: center;
        z-index: 1000;
        display: none;
    }
    .loading-content {
        background-color: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        width: 80%;
        max-width: 400px;
    }
    .progress-container {
        width: 100%;
        height: 20px;
        background-color: #f1f1f1;
        border-radius: 10px;
        margin: 20px 0;
        overflow: hidden;
    }
    .progress-bar {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #4caf50, #2e8b57);
        border-radius: 10px;
        transition: width 0.3s;
        position: relative;
        animation: 1.5s infinite pulse;
    }
    @keyframes pulse {
        0%,
        100% {
            opacity: 0.9;
        }
        50% {
            opacity: 0.7;
        }
    }
    .progress-text {
        font-size: 14px;
        color: #555;
        margin-top: 10px;
    }
    .box,
    .box-req-1,
    .box-req-2,
    .box2 {
        margin-left: auto;
        margin-right: auto;
    }
    .box,
    .in_box {
        min-width: 270px;
    }
    .a-calc,
    .link-rutube,
    a {
        text-decoration: none;
    }
    h1,
    h2,
    h3,
    h4 {
        margin-bottom: 0.5em;
    }
    * {
        box-sizing: border-box;
    }
    body {
        margin: 0;
    }
    select {
        width: 100%;
        max-width: 900px;
        height: 29px;
        padding-right: 32px;
        font-size: 15px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        line-height: 1.42857143;
        color: #aaa;
        background-color: #fff;
        border: 1px solid #aaa;
        border-radius: 4px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23666' d='M7 9L3.5 5h7L7 9z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 2px center;
        background-size: 16px 16px;
        appearance: none;
    }
    .add,
    .contayner1,
    .div_center_calcA,
    .select2-container,
    .t_in,
    legend {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    .box {
        display: flex;
        max-width: 1600px;
    }
    .box2,
    .rutube,
    .table_formula {
        justify-content: center;
    }
    #sleepVremyaDoOtcluchenia {
        display: none;
    }
    .box2,
    .legend,
    .select2-results,
    .sleep_Misp,
    .toc-b,
    .toc-s {
        display: block;
    }
    .box-req-1,
    .box-req-2 {
        width: 100%;
        height: 220px;
        margin-top: 20px;
        border-radius: 8px;
    }
    .legend-1,
    .mini-menu {
        width: 50%;
    }
    .in_box {
        max-width: 800px;
        border: 2px solid #3f3e3e;
        background-color: rgba(240, 240, 240, 0.644);
        border-radius: 8px;
        margin: 15px auto 20px;
        padding: 0.5%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition:
            transform 0.2s,
            box-shadow 0.2s;
    }
    
    #rezultat {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
    }
    .but,
    .pod,
    .predprosmotr1,
    .textarea_text {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    legend {
        width: 95%;
        font-weight: 400;
        background-color: #c7defc;
        padding: 10px;
        border: 2px solid #2b2b2b;
        border-radius: 6px;
    }

    .legend {
        text-align: start;
        width: 80%;
        font-size: 14px;
    }

    .legend-1,
    .legend-2,
    .legend-3,
    .legend-4 {
        vertical-align: middle;
        border-radius: 3px;
        padding-left: 5px;
        font-weight: 500;
        color: #fff;
        display: inline-block;
        margin-bottom: 5px;
        width: 50%;
        background: linear-gradient(45deg, #3492d4, #2b95dc3a);
    }
    
    .legend-4 {
       
        background: linear-gradient(45deg, #ff2828, #ff282851);
    }
    .legend-1:hover,
    .legend-2:hover,
    .legend-3:hover,
    .legend-4:hover {
        background: linear-gradient(45deg, #297db5, #2283c3);
    }
    .strelka {
        display: inline-block;
        width: 20px;
        height: 15px;
        margin-left: 10px;
        background-color: #ff2828;
        clip-path: polygon(100% 0%, 0% 50%, 100% 100%, 100% 0%);
    }
    .calc-name {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 7px;
    }
    .flex-rutube,
    .img-rutube,
    .rutube {
        display: flex;
        align-items: center;
    }
    #confirmBtn,
    #dano_24_4,
    .Fisp2_pdf,
    .Misp_obhs_4,
    .apparat_check,
    .cat_A,
    .cat_B,
    .cat_no,
    .finish_box,
    .liquid,
    .out_Fisp_pom,
    .pay_yoo,
    .sleep_41,
    .sleep_41_r,
    .sleep_Fisp_rasp2,
    .sleep_K_vent,
    .sleep_Misp_1,
    .sleep_gaz1,
    .sleep_gaz10,
    .sleep_gaz2,
    .sleep_gaz3,
    .sleep_gaz4,
    .sleep_gaz5,
    .sleep_gaz6,
    .sleep_gaz7,
    .sleep_gaz8,
    .sleep_gaz9,
    .sleep_gaz_pdf,
    .sleep_input10,
    .sleep_input11,
    .sleep_input118,
    .sleep_input12,
    .sleep_input13,
    .sleep_input14,
    .sleep_input15,
    .sleep_input17,
    .sleep_input31,
    .sleep_input4,
    .sleep_input5,
    .sleep_input8,
    .sleep_input9,
    .sleep_liq_pdf,
    .sleep_liquid,
    .sleep_liquid1,
    .sleep_liquid2,
    .sleep_liquid3,
    .sleep_liquid4,
    .sleep_liquid5,
    .sleep_liquid6,
    .sleep_liquid7,
    .sleep_liquid8,
    .sleep_out_Mmat2 {
        display: none;
    }
    .button-rutube {
        font-size: 14px;
        background: radial-gradient(50% 70%, #e2e9f9, #c7defc);
    }
    .rutube {
        height: 40px;
    }
    .img-rutube {
        width: 30px;
        height: 30px;
        justify-content: center;
    }
    .link-rutube {
        align-items: center;
        color: #46464d;
        font-weight: 500;
        width: 100px;
    }
    .rutube:hover {
        background: radial-gradient(50% 50%, #6c94f7, #c7defc);
    }
    .t_in {
        border-spacing: 0 5px;
        font-size: 16px;
    }
    .name_in {
        width: 60%;
    }
    .line_input {
        border-bottom: 1px solid #2b2b2b;
        padding-bottom: 5px;
        text-align: justify;
    }
    .input {
        color: #000;
        width: 98%;
        height: 25px;
        font-size: 14px;
        border: 0;
        border-radius: 3px;
        vertical-align: top;
        background-color: #fffbfb;
        margin-left: 3px;
    }
    #confirmBtn,
    .calc,
    .open,
    .open_docx,
    .pay_yoo,
    .preview,
    .rezult,
    .rezultDocx {
        height: 40px;
        font-size: 20px;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    #confirmBtn,
    .calc,
    .pay_yoo {
        border: 2px solid #2b2b2b;
    }
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }
    input[type="number"],
    input[type="number"]:focus,
    input[type="number"]:hover {
        appearance: none;
        -moz-appearance: textfield;
    }
    .center {
        text-align: center;
        margin-top: 21px;
        margin-bottom: 21px;
    }
    #confirmBtn,
    .calc {
        width: 45%;
        background-color: #c7defc;
        border-radius: 8px;
        font-weight: 500;
    }
    .pay_yoo {
        width: 25%;
        margin: 10px auto 5px;
        background-color: #81e799;
        border-radius: 8px;
    }
    .open,
    .open_docx,
    .preview,
    .rezult,
    .rezultDocx {
        width: 30%;
        margin-top: 10px;
        margin-left: auto;
        border: 2px solid #2b2b2b;
        background-color: #c7defc;
        border-radius: 8px;
        display: none;
        padding: 2px;
    }
    #confirmBtn:hover,
    .a:hover,
    .add_S2:hover,
    .but:hover,
    .calc:hover,
    .clear:hover,
    .delete_false:hover,
    .open:hover,
    .open_docx:hover,
    .pay_yoo:hover,
    .predprosmotr,
    .preview:hover,
    .rezult:hover,
    .rezultDocx:hover {
        background-color: #94b6e2;
    }
    .predprosmotr {
        left: 50%;
        top: 0;
        bottom: 0;
        position: absolute;
        z-index: 999;
        writing-mode: vertical-rl;
    }
    .predprosmotr1 {
        color: #f1f1f1;
        font-weight: 600;
        font-size: 40px;
        padding-top: 50px;
    }
    .but {
        width: 23px;
        height: 23px;
        font-weight: 700;
        font-size: 15px;
        border: 1px solid #2b2b2b;
        background-color: #c7defc;
        border-radius: 6px;
        margin-left: 8px;
    }
    .pay_yoo:hover {
        background-color: #49905a;
    }
    .finish_box {
        border: 2px solid green;
    }
    .textarea {
        width: 90%;
        height: 40px;
        margin-top: 10px;
        display: block;
        resize: vertical;
        font-size: 14px;
        border: 0;
        border-radius: 5px;
        background-color: #fffbfb;
        margin-left: auto;
        margin-right: auto;
    }
    .modal,
    .modal-kassa,
    .modalPay {
        left: 0;
        width: 100%;
        height: 100%;
    }
    .textarea_text {
        font-weight: 400;
        font-size: 15px;
        text-align: end;
        margin-right: 5%;
    }
    .rezalt {
        font-size: 14pt;
        margin-left: 5px;
    }
    .zag,
    .zag1,
    .zag2 {
        text-align: center;
        font-size: 18pt;
        font-weight: 700;
    }
    .h2,
    h1,
    h2,
    h3,
    h4 {
        font-weight: 600;
    }
    .uzer {
        margin-top: 20px;
    }
    .small_font,
    sub,
    sup {
        font-size: small;
    }
    .table_formula {
        display: flex;
        margin-top: 21px;
        margin-bottom: 21px;
        border: 0 solid #000;
    }
    .modal,
    .modal-kassa {
        display: none;
        position: fixed;
        z-index: 400;
        top: 0;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }
    .modal-content,
    .modal-content-kassa {
        background-color: #fefefe;
        border-radius: 8px;
        position: relative;
    }
    .modal-content {
        margin: 10px auto;
        padding-bottom: 10px;
        z-index: 99999;
        max-width: 900px;
        min-width: 900px;
    }
    .modal-content-kassa {
        margin: 10px auto 300px;
        max-width: 800px;
        min-width: 270px;
        z-index: 11111;
        text-align: center;
    }
    .close {
        color: #aaa;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 28px;
        font-weight: 700;
        cursor: pointer;
    }
    .close:focus,
    .close:hover {
        color: #000;
        text-decoration: none;
    }
    #paymentErrorMessage,
    #paymentSuccessMessage {
        display: none;
        z-index: 9999999;
    }
    .modalPay {
        position: fixed;
        z-index: 999999;
        top: 0;
        background-color: rgba(0, 0, 0, 0.5);
        animation: 0.3s fadeIn;
    }
    .modal-contentPay {
        position: relative;
        background-color: #fff;
        margin: 10% auto;
        padding: 0;
        border-radius: 12px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        animation: 0.3s slideIn;
        overflow: hidden;
    }
    .toc-s-none,
    .toc-video,
    article {
        box-shadow: var(--box-shadow);
    }
    .modal-successPay .modal-headerPay {
        background: linear-gradient(135deg, #4caf50, #45a049);
        color: #fff;
        padding: 20px;
        text-align: center;
    }
    .modal-errorPay .modal-bodyPay,
    .modal-successPay .modal-bodyPay {
        padding: 30px 20px;
        text-align: center;
    }
    .modal-errorPay,
    .modal-successPay {
        padding: 15px 20px;
        text-align: center;
        background-color: #f8f9fa;
    }
    .modal-errorPay .modal-headerPay {
        background: linear-gradient(135deg, #f44336, #d32f2f);
        color: #fff;
        padding: 20px;
        text-align: center;
    }
    .modal-iconPay {
        font-size: 48px;
        margin-bottom: 15px;
    }
    .modal-titlePay {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .a-calc,
    .bold_font {
        font-weight: 500;
    }
    .modal-messagePay {
        font-size: 16px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    .flex {
        display: flex;
    }
    #pay_check {
        width: 20px;
        margin-right: 10px;
    }
    .pod {
        font-size: 15px;
        display: none;
    }
    .required-empty {
        border: 2px solid #ec0e0e9e;
    }
    .optional-empty {
        border: 2px solid #4683b487;
    }
    .filled {
        border: 2px solid #25a62a95;
    }
    :root {
        --primary-color: #2c3e50;
        --secondary-color: #e74c3c;
        --accent-color: #3498db;
        --light-bg: #f8f9fa;
        --dark-text: #333;
        --light-text: #7f8c8d;
        --border-radius: 8px;
        --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
    }
    .main-conteyner {
        display: flex;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
    .contayner-article {
        font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
        line-height: 1.6;
        color: var(--dark-text);
        background-color: #fff;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    article {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 20px;
    }
    .article-mein {
        margin-bottom: 20px;
    }
    h1,
    h2,
    h3,
    h4 {
        text-align: center;
        color: var(--primary-color);
        margin-top: 1.5em;
    }
    h1 {
        text-align: center;
        font-size: 2.2rem;
    }
    .h2 {
        text-align: center;
        font-size: 1.8rem;
        border-left: 4px solid var(--accent-color);
        padding-left: 15px;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.2rem;
    }
    blockquote,
    li,
    p {
        font-size: 1.05rem;
    }
    q {
        quotes: "" "";
    }
    .a-calc {
        color: #1288d6;
        transition: var(--transition);
    }
    .a-calc:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }
    ol,
    ul {
        margin-bottom: 1.5em;
        padding-left: 1.5em;
    }
    .warning {
        background-color: #fff3e0;
        border-left: 4px solid #ffa000;
        padding: 15px;
        margin: 20px 0;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
    }
    .toc,
    .toc-b,
    .toc-s,
    .toc-s-none,
    .toc-video {
        border-radius: var(--border-radius);
    }
    .toc {
        background: var(--light-bg);
        padding: 20px;
        margin-bottom: 30px;
    }
    .block-review {
        padding: 0;
        margin: 30px 0;
    }
    .toc-s-none {
        padding: 20px;
    }
    .toc-s {
        background: #b7e7fd6c;
        padding: 5px 0 5px 1px;
        margin-top: 0;
        margin-bottom: 8px;
    }
    .toc-h3 {
        margin-top: 5px;
    }
    .ul-s {
        list-style-type: none;
        padding: 0 7px 0 12px;
    }
    .toc-video {
        background: #fff;
        padding: 20px 0 0;
        margin-bottom: 20px;
    }
    .toc-b {
        justify-content: center;
        align-items: center;
        max-width: 436px;
        height: 245px;
        margin-top: 0;
        margin-bottom: 8px;
    }
    .st {
        padding-right: 10px;
        position: sticky;
        top: 0;
        height: 1600px;
        overflow-y: auto;
        margin-left: 5px;
        margin-right: 10px;
        width: 30%;
    }
    .contayner1_soglashenie {
        max-width: 800px;
        min-width: 270px;
        border: 2px solid #3f3e3e;
        background-color: #e9e7e7;
        border-radius: 8px;
        margin: 10px auto;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        font-size: 13pt;
        padding: 10px;
        text-align: justify;
    }
    .otstup-text {
        text-indent: 5%;
    }
    .but_center_A {
        margin-top: 9px;
        margin-bottom: 9px;
    }
    .div_center_calcA {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 16px;
    }
    .add_in_A {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .add {
        width: 90%;
        height: 30px;
        font-size: 17px;
        font-weight: 400;
        padding-bottom: 2px;
        border: 2px solid #2b2b2b;
        background-color: #c7defc;
        border-radius: 8px;
    }
    .input:focus {
        box-shadow: 0 0 0 2px #ec0e0e9e;
        border: 0 solid #4caf50;
        transition: border-color 0.3s;
    }
    .select2-container {
        box-sizing: border-box;
        display: inline-block;
        margin: 0;
        position: relative;
        font-size: 15px;
    }
    .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        height: 28px;
        user-select: none;
        -webkit-user-select: none;
    }
    .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear,
    .select2-search--dropdown.select2-search--hide {
        display: none;
    }
    .select2-container .select2-selection--single .select2-selection__rendered {
        display: block;
        padding-left: 8px;
        padding-right: 20px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .select2-hidden-accessible {
        border: 0 !important;
        clip: rect(0 0 0 0) !important;
        -webkit-clip-path: inset(50%) !important;
        clip-path: inset(50%) !important;
        height: 1px !important;
        overflow: hidden !important;
        padding: 0 !important;
        position: absolute !important;
        width: 1px !important;
        white-space: nowrap !important;
    }
    .select2-container--default .select2-selection--single {
        background-color: #fff;
        border: 1px solid #aaa;
        border-radius: 4px;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 28px;
    }
    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #999;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #888 transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0;
        height: 0;
        left: 50%;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0;
    }
    .select2-container .select2-search--inline .select2-search__field {
        box-sizing: border-box;
        border: none;
        font-size: 100%;
        margin-top: 5px;
        margin-left: 5px;
        padding: 0;
        max-width: 100%;
        resize: none;
        height: 18px;
        vertical-align: bottom;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        overflow: hidden;
        word-break: keep-all;
    }
    .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
        -webkit-appearance: none;
    }
    .select2-dropdown {
        background-color: #fff;
        border: 1px solid #aaa;
        border-radius: 4px;
        box-sizing: border-box;
        display: block;
        position: absolute;
        left: -100000px;
        width: 100%;
        z-index: 1051;
    }
    .select2-results__options {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .select2-results__option {
        padding: 6px;
        user-select: none;
        -webkit-user-select: none;
    }
    .select2-results__option--selectable {
        cursor: pointer;
    }
    .select2-container--open .select2-dropdown {
        left: 0;
    }
    .select2-search--dropdown {
        display: block;
        padding: 4px;
    }
    .select2-search--dropdown .select2-search__field {
        padding: 4px;
        width: 100%;
        box-sizing: border-box;
    }
    .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
        -webkit-appearance: none;
    }
    .select2-close-mask {
        border: 0;
        margin: 0;
        padding: 0;
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        min-height: 100%;
        min-width: 100%;
        height: auto;
        width: auto;
        opacity: 0;
        z-index: 99;
        background-color: #fff;
    }
    .select2-container--default .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: 700;
        height: 26px;
        margin-right: 20px;
        padding-right: 0;
    }
    .select2-container--default.select2-container--disabled .select2-selection--single {
        background-color: #eee;
        cursor: default;
    }
    .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
        border-color: transparent transparent #888;
        border-width: 0 4px 5px;
    }
    .select2-container--default .select2-results > .select2-results__options {
        max-height: 300px;
        overflow-y: auto;
    }
    .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
        background-color: #5897fb;
        color: #fff;
    }
    @media screen and (max-width: 1100px) {
        .img_formula_calcV_stellazhi {
            text-align: center;
            max-width: 80%;
            height: 100%;
        }
    }
    @media (max-width: 1330px) {
        .box {
            display: block;
        }
        .box-req-1,
        .box-req-2,
        .box-req-3,
        .box-req-4,
        .st {
            display: none;
        }
    }
    @media (max-width: 772px) {
        article {
            padding: 20px;
        }
        h1 {
            font-size: 1.8rem;
        }
        h2 {
            font-size: 1.5rem;
        }
    }
    @media (max-width: 754px) {
        .calc,
        .modal-close-btn1,
        .open,
        .open_docx,
        .pay_yoo,
        .preview,
        .rezult,
        .rezultDocx {
            font-size: 1rem;
        }
    }
    @media (max-width: 640px) {
        .calc,
        .modal-close-btn1,
        .open,
        .open_docx,
        .pay_yoo,
        .preview,
        .rezult,
        .rezultDocx {
            font-size: 14px;
        }
        .toc {
            padding: 1px;
        }
    }
    @media (max-width: 582px) {
        .calc,
        .legend,
        .modal-close-btn1,
        .open,
        .open_docx,
        .pay_yoo,
        .preview,
        .rezult,
        .rezultDocx {
            font-size: 12px;
        }
        .legend {
            width: 90%;
        }
        .legend-1,
        .legend-2,
        .legend-3,
        .legend-4 {
            border-radius: 2px;
            width: 70%;
        }
    }
    @media (max-width: 364px) {
        .legend-1,
        .legend-2,
        .legend-3,
        .legend-4 {
            font-size: 10px;
        }
    }
    @media (max-width: 474px) {
        .modal-button {
            font-size: 0.8rem;
            padding: 0.7rem 1rem;
        }
        article {
            padding: 10px;
        }
        .contayner-article {
            margin: 0 auto;
            padding: 0 5px;
        }
    }
    @media (max-width: 349px) {
        .calc,
        .modal-close-btn1,
        .open,
        .open_docx,
        .pay_yoo,
        .preview,
        .rezult,
        .rezultDocx {
            font-size: 9px;
        }
    }
    @media (max-height: 1080px) {
        .st {
            height: 980px;
        }
    }
    @media (max-height: 864px) {
        .st {
            height: 800px;
        }
    }
    @media (max-height: 768px) {
        .st {
            height: 700px;
        }
    }

