.requirements-table-wrap {
    max-width: 100%;
    margin: 20px 0 0;
    overflow: visible;
}

.wide-prose .requirements-table-wrap > .requirements-table {
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
    table-layout: fixed;
}

.requirements-table th,
.requirements-table td {
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    vertical-align: top;
}

.requirements-table th {
    position: static;
    top: auto;
}

.requirements-table code,
.requirements-table a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.requirements-table-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

/*
 * On phones and compact tablets the three columns become labelled cards.
 * This keeps column A in the reading flow instead of relying on horizontal
 * scrolling, including at browser zoom levels where a tablet becomes narrow.
 */
@media (max-width: 899px) {
    .wide-prose .requirements-table-wrap,
    .requirements-table-wrap {
        margin: 18px 0 0;
        overflow: visible;
    }

    .wide-prose .requirements-table-wrap > .requirements-table {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border: 0;
        border-radius: 0;
        background: transparent;
        table-layout: auto;
        font-size: 14px;
    }

    .requirements-table thead {
        display: none;
    }

    .requirements-table tbody {
        display: grid;
        width: 100%;
        max-width: 100%;
        gap: 14px;
    }

    .wide-prose .requirements-table-wrap > .requirements-table tbody,
    .wide-prose .requirements-table-wrap > .requirements-table tbody tr,
    .wide-prose .requirements-table-wrap > .requirements-table tbody tr:last-child {
        width: 100%;
        box-sizing: border-box;
    }

    .wide-prose .requirements-table-wrap > .requirements-table tbody tr,
    .wide-prose .requirements-table-wrap > .requirements-table tbody tr:last-child {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 0;
        overflow: visible;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: white;
        box-sizing: border-box;
        padding: 0;
    }

    .requirements-table tbody tr:hover {
        background: white;
    }

    .wide-prose .requirements-table-wrap > .requirements-table tbody td,
    .wide-prose .requirements-table-wrap > .requirements-table tbody tr:last-child td {
        display: block;
        width: 100% !important;
        min-width: 0;
        min-height: 0;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        padding: 14px 16px;
        overflow: visible;
        border-bottom: 1px solid var(--line);
        color: #344054;
        font-size: 14px;
        line-height: 1.55;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .wide-prose .requirements-table-wrap > .requirements-table tbody td::before,
    .wide-prose .requirements-table-wrap > .requirements-table tbody td:last-child::before {
        display: block;
        content: attr(data-label);
        margin-bottom: 5px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: .02em;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .wide-prose .requirements-table-wrap > .requirements-table thead,
    .wide-prose .requirements-table-wrap > .requirements-table tbody td:nth-child(1),
    .wide-prose .requirements-table-wrap > .requirements-table tbody td:nth-child(2),
    .wide-prose .requirements-table-wrap > .requirements-table tbody td:nth-child(3) {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .wide-prose .requirements-table-wrap > .requirements-table tbody td:last-child,
    .wide-prose .requirements-table-wrap > .requirements-table tbody tr:last-child td:last-child {
        border-bottom: 0;
    }
}

@media (min-width: 900px) {
    .wide-prose .requirements-table-wrap > .requirements-table {
        table-layout: fixed;
        width: 100%;
        overflow: visible;
        min-width: 0;
        max-width: 100%;
    }

    .requirements-table th:nth-child(1),
    .requirements-table td:nth-child(1) {
        width: 88px;
        min-width: 88px;
        max-width: 88px;
        white-space: nowrap;
        text-overflow: clip;
        overflow: hidden;
    }

    .requirements-table th:nth-child(2),
    .requirements-table td:nth-child(2) {
        width: 31%;
        min-width: 0;
    }

    .requirements-table th:nth-child(3),
    .requirements-table td:nth-child(3) {
        width: auto;
        min-width: 0;
        max-width: none;
    }

    .requirements-table th:nth-child(1),
    .requirements-table td:nth-child(1),
    .requirements-table th:nth-child(2),
    .requirements-table td:nth-child(2),
    .requirements-table th:nth-child(3),
    .requirements-table td:nth-child(3) {
        box-sizing: border-box;
    }
}
