.safety-table-5-section {
  color: rgba(57, 19, 75, 1);
  font-family: "Roboto", sans-serif;
}

.safety-table-5-section .safety-table-5-kicker {
  margin: 0 0 16px;
}

.safety-table-5-section .safety-table-5-heading {
  margin: 0 0 64px;
}

.safety-table-5-section .safety-table-5-note {
  margin: 24px 0 0;
  color: rgba(0, 0, 0, 0.7);
}

.safety-table-5 {
  --st5-purple: rgba(57, 19, 75, 1);
  --st5-pink: rgba(255, 8, 77, 1);
  --st5-text: rgba(0, 0, 0, 0.7);
  --st5-stripe: rgba(245, 245, 245, 1);
  --st5-border: rgba(176, 200, 213, 1);
  --st5-white: rgba(255, 255, 255, 1);
  --st5-highlight: rgba(208, 200, 211, 1);

  width: 100%;
  margin-inline: auto;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--st5-text);
  background: var(--st5-white);
  font-family: "Roboto", sans-serif;
}

.safety-table-5 .description-column { width: 58.8%; }
.safety-table-5 .value-column { width: 20.6%; }

.safety-table-5 th,
.safety-table-5 td { box-sizing: border-box; }

.safety-table-5 thead th {
  height: 70px;
  padding: 10px 16px;
  vertical-align: middle;
}

.safety-table-5 .table-title {
  color: var(--st5-text);
  background: var(--st5-white);
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  border: 0;
}

.safety-table-5 .treatment-heading {
  color: var(--st5-white);
  background: var(--st5-pink);
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  border-right: 1px solid var(--st5-white);
}

.safety-table-5 .treatment-heading:last-child { border-right: 0; }

.safety-table-5 tbody th,
.safety-table-5 tbody td {
  height: 50px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 24px;
  vertical-align: middle;
  border-right: 1px solid var(--st5-border);
}

.safety-table-5 tbody th {
  text-align: left;
  font-weight: 400;
}

.safety-table-5 tbody td {
  text-align: center;
  white-space: nowrap;
}

.safety-table-5 tbody td:last-child { border-right: 0; }

.safety-table-5 tbody .data-row th,
.safety-table-5 tbody .data-row td {
  background: var(--st5-white);
}

.safety-table-5 tbody .data-row.stripe th,
.safety-table-5 tbody .data-row.stripe td {
  background: var(--st5-stripe);
}

.safety-table-5 tbody .category-row th {
  color: var(--st5-purple);
  background: var(--st5-highlight);
  border: 0;
  font-weight: 700;
}

@media (max-width: 767px) {
  .safety-table-5-section .safety-table-5-kicker { margin-bottom: 16px; }
  .safety-table-5-section .safety-table-5-heading { margin-bottom: 32px; }
  .safety-table-5-section .safety-table-5-note { margin-top: 16px; }

  .safety-table-5 {
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .safety-table-5 .description-column { width: 52.5%; }
  .safety-table-5 .value-column { width: 23.75%; }

  .safety-table-5 thead th { padding: 18px 6px; }

  .safety-table-5 .table-title {
    font-size: 12px !important;
    padding-left: 10px;
    border-right: 1px solid var(--st5-white);
  }

  .safety-table-5 .treatment-heading {
    background: var(--st5-purple);
    font-size: 12px;
    line-height: 16px;
  }

  .safety-table-5 tbody th,
  .safety-table-5 tbody td {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 16px;
    border-right: 1px solid var(--st5-white);
    border-bottom: 1px solid var(--st5-white);
  }

  .safety-table-5 tbody th { overflow-wrap: break-word; }
  .safety-table-5 tbody td { padding-inline: 4px; }
  .safety-table-5 tbody td:last-child { border-right: 0; }

  .safety-table-5 tbody tr:last-child th,
  .safety-table-5 tbody tr:last-child td { border-bottom: 0; }
}


/* Mobile first-row typography, colors and vertical padding. */
@media (max-width: 767px) {
  .safety-table-5 thead > tr:first-child > th {
    font-family: "Roboto", sans-serif !important;
    font-size: 12px !important;
    line-height: 16px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .safety-table-5 thead > tr:first-child > th span {
    font-family: "Roboto", sans-serif !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }
  .safety-table-5 thead > tr:first-child > th.table-title {
    color: rgba(0, 0, 0, 0.7) !important;
    background-color: #ffffff !important;
  }
  .safety-table-5 thead > tr:first-child > th.treatment-heading,
  .safety-table-5 thead > tr:first-child > th.treatment-heading span {
    color: #ffffff !important;
  }
  .safety-table-5 thead > tr:first-child > th.treatment-heading {
    background-color: #39134b !important;
  }
}


/* Mobile header geometry and unbroken parenthetical phrases. */
@media (max-width: 767px) {
  .safety-table-5 .description-column { width: 52.77777778%; }
  .safety-table-5 col.value-column:nth-child(2) { width: 25%; }
  .safety-table-5 col.value-column:nth-child(3) { width: 22.22222222%; }
  .safety-table-5 thead > tr:first-child > th {
    height: 82px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
  .safety-table-5 thead > tr:first-child > th .mobile-header-parenthetical {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .safety-table-5 thead > tr:first-child > th .mobile-header-wrap {
    display: inline !important;
  }
}

/* Rounded outer corners, matching the study-design table. */
.safety-table-5 {
  border-collapse: separate;
  border-spacing: 0;
}
.safety-table-5 thead > tr:first-child > .treatment-heading:nth-child(2) {
  border-top-left-radius: 24px;
}
.safety-table-5 thead > tr:first-child > .treatment-heading:last-child {
  border-top-right-radius: 24px;
}
.safety-table-5 tbody > tr:last-child > :first-child {
  border-bottom-left-radius: 24px;
}
.safety-table-5 tbody > tr:last-child > :last-child {
  border-bottom-right-radius: 24px;
}
