:is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide .nv-legal-cell-label {
    display: none;
}

@media (min-width: 701px) {
    :is(.nv-legal-document, .nv-legal-body) .nv-table-scroll > table.nv-legal-wide:has(> thead > tr > th:nth-child(3):last-child) {
        table-layout: fixed;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide:has(> thead > tr > th:nth-child(3):last-child) > thead th:first-child {
        width: 22%;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide:has(> thead > tr > th:nth-child(3):last-child) > thead th:nth-child(2) {
        width: 34%;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide:has(> thead > tr > th:nth-child(3):last-child) :is(th, td) {
        min-width: 0;
        overflow-wrap: break-word;
        word-break: normal;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide:has(> thead th:nth-child(4)) :is(th, td) {
        min-width: 200px;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide:has(> thead th:nth-child(4)) th[scope="row"] {
        min-width: 260px;
    }
}

@media (max-width: 700px) {
    :is(.nv-legal-document, .nv-legal-body) .nv-table-scroll:has(> table.nv-legal-wide) {
        overflow: visible;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide,
    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide :is(tbody, tr, th, td) {
        display: block;
        box-sizing: border-box;
        min-width: 0 !important;
        max-width: none;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide {
        width: 100%;
        margin: 0;
        border: 0;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide > tbody > tr {
        margin: 16px 0 20px;
        padding: 0;
        border: 1px solid var(--border, #dce3ef);
        border-radius: 8px;
        background: var(--card, #fff);
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide > tbody > tr > :is(th, td) {
        width: auto;
        padding: 12px 16px;
        border: 0;
        border-bottom: 1px solid var(--border, #dce3ef);
        overflow-wrap: anywhere;
        word-break: normal;
        white-space: normal;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide > tbody > tr > th[scope="row"] {
        font-weight: 600;
        background: var(--page, #f6f8fc);
        border-radius: 7px 7px 0 0;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide > tbody > tr > :last-child {
        border-bottom: 0;
    }

    :is(.nv-legal-document, .nv-legal-body) table.nv-legal-wide .nv-legal-cell-label {
        display: block;
        margin-bottom: 4px;
        color: #526078;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }
}
