.govuk-table--no-border .govuk-table__row .govuk-table__cell {
  border-bottom: none;
}

.govuk-table--framework-incomplete {
  border-left: 5px solid #d4351c;

  .govuk-link:not(:focus) {
    color: $govuk-error-colour;
  }

  .govuk-table__cell:first-child {
    padding-left: 15px;
  }
}

table.dm-compliance-communications-table {
  table-layout: fixed;

  thead > tr {
    th:nth-of-type(1) {
      width: 45%;
    }

    th:nth-of-type(2) {
      width: 35%;
    }

    th:nth-of-type(3) {
      width: 20%;
    }
  }

  &.dm-compliance-communications-table__with-supplier {
    thead > tr {
      th:nth-of-type(1), th:nth-of-type(2) {
        width: 30%;
      }
  
      th:nth-of-type(3) {
        width: 20%;
      }
  
      th:nth-of-type(4) {
        width: 20%;
      }
    }
  }

  tbody > tr > td {
    overflow-wrap: break-word;
  }
}

table.dm-compliance-communications-archive-table {
  table-layout: fixed;

  thead > tr {
    th:nth-of-type(1) {
      width: 45%;
    }

    th:nth-of-type(2) {
      width: 55%;
    }
  }

  &.dm-compliance-communications-archive-table__with-supplier {
    thead > tr {
      th:nth-of-type(1) {
        width: 30%;
      }
  
      th:nth-of-type(2) {
        width: 30%;
      }
  
      th:nth-of-type(3) {
        width: 40%;
      }
    }
  }

  tbody > tr > td {
    overflow-wrap: break-word;
  }
}

table.dm-compliance-communication-messages-table {
  table-layout: fixed;

  thead > tr {
    th:nth-of-type(1), th:nth-of-type(4) {
      width: 10%;
    }

    th:nth-of-type(2) {
      width: 40%;
    }

    th:nth-of-type(3), th:nth-of-type(5) {
      width: 20%;
    }
  }

  tbody > tr > td {
    overflow-wrap: break-word;
  }
}
