/* R2 shared cleanup. No font declarations, content replacements or data hiding. */

/* Header navigation is text-first. Keep the primary RFQ and mobile controls. */
html:root body.gd-site .gd-header .gd-nav-group,
html:root body.gd-site .gd-header .gd-nav-group > summary {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html:root body.gd-site .gd-header .gd-nav-group > summary {
  padding: 12px 0 !important;
}
html:root body.gd-site .gd-header .gd-nav-group > summary:hover,
html:root body.gd-site .gd-header .gd-nav-group[open] > summary {
  color: #084d74 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
html:root body.gd-site .gd-header :is(summary,a,button):focus-visible {
  outline: 3px solid #247aaf !important;
  outline-offset: 4px !important;
}

/* The scripts remove only confirmed decorative label nodes. Recover their slots. */
html:root body.gd-site main #company-businesses .rep-business-list > a {
  grid-template-columns: minmax(0,1fr) 24px !important;
  gap: 24px;
}
html:root body.gd-site main #ltcc-platform .be-material figcaption {
  grid-template-columns: minmax(0,1fr) !important;
}

/* Real processes keep ordered-list semantics, original headings and sequence. */
html:root body.gd-site main .rep-process,
html:root body.gd-site main.assembly-sample .assembly-route-list {
  counter-reset: none !important;
}
html:root body.gd-site main .rep-process > li,
html:root body.gd-site main.assembly-sample .assembly-route-list > li {
  counter-increment: none !important;
}
html:root body.gd-site main .rep-process > li::before,
html:root body.gd-site main.assembly-sample .assembly-route-list > li::before {
  content: none !important;
  display: none !important;
}
html:root body.gd-site main.assembly-sample .assembly-route-list > li {
  padding-left: 20px !important;
  border-left: 2px solid #b4cedf;
}
html:root body.gd-site main .rep-rfq-aside ol {
  list-style: none !important;
  padding-left: 0 !important;
}
html:root body.gd-site main .rep-rfq-aside ol > li::marker {
  content: "";
}
html:root body.gd-site main .rep-rfq-aside ol > li + li {
  border-top: 1px solid #d9e0e4;
  padding-top: 24px;
}

/* Download labels carry the meaning; matching SVGs provide quiet visual rhythm. */
html:root body.gd-site main .dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #084d74;
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  line-height: 1;
}
html:root body.gd-site main .r2-document-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}

/* Explicit semantic headers only: never assume the first data row is a header.
   thead can contain td; .gd-header-cell is the earlier verified header marker. */
html:root body.gd-site main table :is(th,thead td,.gd-header-cell),
html:root body.gd-site main table :is(th,thead td,.gd-header-cell) *,
html:root body.gd-site main table tr.r2-table-heading > :is(th,td),
html:root body.gd-site main table tr.r2-table-heading > :is(th,td) * {
  background-color: #084d74 !important;
  color: #fff !important;
  font-weight: 600 !important;
}
html:root body.gd-site main table tr.r2-table-heading > :is(th,td) {
  border-bottom-color: #ffffff40 !important;
}

@media(max-width:1100px) {
  html:root body.gd-site .gd-header .gd-nav-group + .gd-nav-group {
    border-top: 1px solid #d9e0e4 !important;
  }
}
@media(max-width:700px) {
  html:root body.gd-site main #company-businesses .rep-business-list > a {
    grid-template-columns: minmax(0,1fr) 20px !important;
    gap: 16px;
  }
}
