#sulzer-oem-reference {
  --oem-ink: #102c41;
  --oem-link: #075985;
  --oem-rule: #dce5ec;
  --oem-row: #f5f8fa;
  background: #edf3f6;
}

#sulzer-oem-reference h2 {
  margin: 0 0 .7rem;
  max-width: 26ch;
  color: var(--oem-ink);
  line-height: 1.12;
  text-wrap: balance;
}

#sulzer-oem-reference h2 + p {
  margin: 0 0 1.5rem;
  max-width: 77ch;
  color: #354d5f;
  line-height: 1.6;
}

#sulzer-oem-reference [role="region"] {
  border: 1px solid var(--oem-rule);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(16 44 65 / 6%);
  overscroll-behavior-inline: contain;
}

#sulzer-oem-reference [role="region"]:focus-visible,
#sulzer-oem-reference a:focus-visible {
  outline: 3px solid var(--oem-link);
  outline-offset: 3px;
}

#sulzer-oem-reference table {
  min-width: 49rem;
  margin: 0;
  color: var(--oem-ink);
  font-size: .925rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

#sulzer-oem-reference :is(th,td) {
  padding: .8rem 1rem !important; /* Supersedes the original cell padding. */
  border: 0;
  vertical-align: middle;
}

#sulzer-oem-reference thead th {
  background: #15354b;
  color: #fff;
  font-weight: 650;
}

#sulzer-oem-reference tbody tr {
  --oem-cell: #fff;
}

#sulzer-oem-reference tbody tr:nth-child(even) {
  --oem-cell: var(--oem-row);
}

#sulzer-oem-reference tbody tr:focus-within {
  --oem-cell: #e8f3fa;
}

@media (hover: hover) {
  #sulzer-oem-reference tbody tr:hover {
    --oem-cell: #e8f3fa;
  }
}

#sulzer-oem-reference tbody :is(th,td) {
  border-top: 1px solid var(--oem-rule);
  background: var(--oem-cell);
}

#sulzer-oem-reference tbody th {
  text-align: left;
  font-weight: 650;
}

#sulzer-oem-reference tbody td {
  white-space: nowrap;
}

#sulzer-oem-reference a {
  color: var(--oem-link);
  text-decoration: underline;
  text-decoration-color: #7bacc6;
  text-underline-offset: .2em;
}

#sulzer-oem-reference [role="region"] + p {
  margin: .9rem 0 0;
  color: #40586a;
  font-size: .8125rem;
  line-height: 1.55;
}

@media (max-width: 850px) {
  #sulzer-oem-reference [role="region"] {
    border-radius: 10px;
  }

  #sulzer-oem-reference h2 + p {
    margin-bottom: .8rem;
  }

  #sulzer-oem-reference h2 + p::after {
    display: block;
    margin-top: .75rem;
    color: var(--oem-link);
    font-size: .8125rem;
    font-weight: 650;
    content: "Scroll the table horizontally to see all columns";
  }

  #sulzer-oem-reference:lang(es) h2 + p::after {
    content: "Deslice la tabla para ver todas las columnas";
  }

  #sulzer-oem-reference :is(thead,tbody) th:first-child {
    position: sticky;
    z-index: 1;
    left: 0;
    box-shadow: 1px 0 0 var(--oem-rule);
  }

  #sulzer-oem-reference :is(th,td) {
    padding: .7rem .8rem !important;
  }

  #sulzer-oem-reference tbody th:first-child {
    max-width: 9rem;
  }
}

/* Technical notes on series pages and the CPT reference. */
#sulzer-oem-reference [role="region"] ~ p:not(:last-child),
#sulzer-oem-reference > .wrap > p:nth-child(3) {
  max-width: 85ch;
  margin: .85rem 0;
  color: #354d5f;
  line-height: 1.6;
}

#sulzer-oem-reference > :is(.wrap,.sr-wrap) > p:last-child {
  margin: .9rem 0 0;
  color: #40586a;
  font-size: .8125rem;
  line-height: 1.55;
}

#sulzer-oem-reference table:has(tbody > tr:only-child) {
  min-width: 38rem;
}

@media (min-width: 701px) and (max-width: 850px) {
  #sulzer-oem-reference:has(tbody > tr:only-child) h2 + p::after {
    content: none;
  }
}

