/* Адаптация для телефонов */
@media (max-width: 600px) {
    body {
        margin: 0;
        padding: 8px 0;
        font-size: 14px;
        text-align: left;
    }

    .main-table {
        display: block;
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        margin: 0 8px;
        table-layout: auto;
    }

    .main-table > tbody,
    .main-table > tbody > tr {
        display: block;
        width: 100%;
    }

    .main-table > tbody > tr > td {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
    }

    .header {
        padding: 12px;
    }

    .header h1 {
        font-size: 22px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .nav-cell,
    .content-cell {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
    }

    .nav-cell {
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .nav-cell table {
        width: 100%;
        table-layout: fixed;
    }

    .nav-cell table td {
        padding: 8px 6px;
    }

    .nav-btn a {
        padding: 2px 0;
        line-height: 1.3;
    }

    .content-cell {
        min-height: 0;
        height: auto;
        padding: 14px 12px;
        overflow-wrap: anywhere;
    }

    .content-cell h2 {
        font-size: 20px;
        line-height: 1.25;
    }

    .content-cell h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .float-img {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

    .float-img img {
        width: 80px;
        height: 80px;
    }

    .inner-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: normal;
    }

    .inner-table td,
    .inner-table th {
        min-width: 96px;
        padding: 7px 6px;
        vertical-align: top;
        word-break: normal;
    }

    .content-cell ul,
    .content-cell ol {
        padding-left: 22px;
    }

    .footer {
        padding: 10px 12px;
    }

    .footer-row {
        display: block;
        line-height: 1.5;
    }

    .footer-note {
        margin-top: 4px;
    }
}
