/* HIBSAGO dosing-adjustment table
 * Scoped to the Content Block component ID so no other page content is affected.
 */

#dosing-adjustments-id .hibsago-dose-table-desktop,
#dosing-adjustments-id .hibsago-dose-table-mobile {
  color: #39134b;
  font-family: Roboto, Arial, sans-serif;
}

/* Desktop table — retained unchanged. */
#dosing-adjustments-id .hibsago-dose-adjustment-table {
  width: 100%;
  margin: 24px 0 12px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #39134b;
  background: #fff;
  font-size: 12px;
  line-height: 1.25;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table th,
#dosing-adjustments-id .hibsago-dose-adjustment-table td {
  padding: 14px 16px;
  border: 1px solid #c8c1cc;
  text-align: left;
  vertical-align: middle;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead th {
  background: #ff084d;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child th:first-child {
  width: 27%;
  background: #fff;
  color: #39134b;
  border-top-color: transparent;
  border-left-color: transparent;
  text-align: left;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child th:last-child {
  width: 21%;
}

/* Round only the outer top corners of the colored table header.
 * Cell clipping preserves the existing collapsed borders and square bottom.
 */
#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child th:nth-child(2) {
  clip-path: inset(0 round 24px 0 0 0);
  border-left-style: hidden;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child th:last-child {
  clip-path: inset(0 round 0 24px 0 0);
  border-right-style: hidden;
}

/* Suppress exposed collapsed borders around the rounded header.
 * The first section uses an inset white divider without gray border artifacts.
 */
#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child > th {
  border-top-style: hidden;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table tbody > tr.hibsago-dose-section:first-child > th {
  border-top-style: hidden;
  box-shadow: inset 0 1px 0 #ffffff;
}


#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:nth-child(2) th:nth-child(1),
#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:nth-child(2) th:nth-child(2),
#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:nth-child(2) th:nth-child(4) {
  width: 8%;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:nth-child(2) th:nth-child(3) {
  width: 28%;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table tbody td,
#dosing-adjustments-id .hibsago-dose-adjustment-table tbody th {
  border-color: #b0c8d5;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:not(.hibsago-dose-section) > td {
  background: rgba(255, 255, 255, 0);
}

#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:nth-child(3) > td,
#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:nth-child(5) > td,
#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:nth-child(8) > td,
#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:nth-child(10) > td,
#dosing-adjustments-id .hibsago-dose-adjustment-table tbody tr:nth-child(14) > td {
  background: rgba(58, 19, 76, 0.05);
}

#dosing-adjustments-id .hibsago-dose-adjustment-table .hibsago-dose-section th {
  padding: 10px 16px;
  border-color: #ff084d;
  background: #ff084d;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table .hibsago-dose-action {
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

#dosing-adjustments-id .hibsago-dose-check {
  display: inline-block;
  width: 43px;
  height: 39px;
  overflow: hidden;
  background: center / contain no-repeat
    url("/content/dam/brs-pharma-us/hcp-v2-hibsago/en_US/brs-resources/hibsago-dose-check.svg");
  color: transparent;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table ul,
#dosing-adjustments-id .hibsago-dose-table-mobile ul {
  margin: 0;
  padding-left: 18px;
}

#dosing-adjustments-id .hibsago-dose-table-mobile {
  display: none;
}

#dosing-adjustments-id .hibsago-dose-table-note {
  margin: 6px 0 48px;
  font-size: 10px;
  line-height: 1.35;
}

#dosing-adjustments-id .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table th {
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table td,
#dosing-adjustments-id .hibsago-dose-adjustment-table td p,
#dosing-adjustments-id .hibsago-dose-adjustment-table td li,
#dosing-adjustments-id .hibsago-dose-adjustment-table td b,
#dosing-adjustments-id .hibsago-dose-adjustment-table td strong {
  color: rgba(0, 0, 0, 0.7) !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table td li {
  line-height: 1.25 !important;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table thead tr:first-child th:first-child .hibsago-laboratory-value {
  color: #3a134c !important;
  font-family: Roboto, Arial, sans-serif !important;
}

#dosing-adjustments-id .hibsago-dose-adjustment-table td > b,
#dosing-adjustments-id .hibsago-dose-adjustment-table td > strong {
  font-weight: 700 !important;
}

/* Mobile table — exact Figma row and cell backgrounds. */
@media (max-width: 767px) {
  #dosing-adjustments-id .hibsago-dose-table-desktop {
    display: none;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile {
    display: block !important;
    box-sizing: border-box;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    margin: 18px -20px 8px !important;
    overflow: visible !important;
    color: #39134b;
    background: #fff !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > h3 {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    background: #e20041 !important;
    color: #fff !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl {
    width: 100%;
    margin: 0 !important;
    background: #fff !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div {
    display: grid !important;
    grid-template-columns: 43.25% 56.75% !important;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #d8d0db !important;
    background: #fff !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div > dt,
  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div > dd {
    box-sizing: border-box;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    color: #39134b !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    text-align: left !important;
    align-content: center !important;
    vertical-align: middle !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div > dt {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid #d8d0db !important;
    background: #c9bdd2 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    text-align: center !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div > dd {
    background: #fff !important;
    color: rgba(0, 0, 0, 0.7) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 14px !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div:first-child,
  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div:first-child > dt,
  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div:first-child > dd {
    background: #f5f3f6 !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div:first-child > dt {
    border-right: 0 !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile dt .hibsago-laboratory-value {
    color: #3a134c !important;
    font-family: Roboto, Arial, sans-serif !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile > dl > div > dd ul {
    margin: 0 !important;
    padding-left: 16px !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile dd ul li,
  #dosing-adjustments-id .hibsago-dose-table-mobile dd ul li p,
  #dosing-adjustments-id .hibsago-dose-table-mobile dd ul li::marker {
    color: rgba(0, 0, 0, 0.7) !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile dd ul li + li {
    margin-top: 8px !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-mobile dd > b,
  #dosing-adjustments-id .hibsago-dose-table-mobile dd > strong {
    font-weight: 700 !important;
  }

  #dosing-adjustments-id .hibsago-dose-table-note {
    margin-bottom: 32px;
    font-size: 9px;
  }
}
.line-height-0 {
  line-height: 0px !important;
}
div[data-component="Footnote"] li span.sc-top-0 {
  top: 0 !important;
  font-size: 12px !important;
  font-family: Roboto !important;
}

/* Chronic hepatitis B page: black MAIN CONTENT text only.
 * Existing hero ID scopes this shared sheet to this page.
 * ISI (including sticky ISI), footer, header, Hero 2.0, white text and
 * interactive link states retain their existing colors.
 */
body:has(#chronic-hero) :is(.aem-Grid, .responsivegrid)
:is(div,h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,b,em,i,sup,sub,label,a)
:not(:is(
  header, header *, .proxyheader, .proxyheader *,
  footer, footer *, .proxyfooter, .proxyfooter *,
  [data-cq-resource-type$="/proxyfooter"], [data-cq-resource-type$="/proxyfooter"] *,
  [data-component="Footer" i], [data-component="Footer" i] *,
  [data-cq-resource-type$="/isi"], [data-cq-resource-type$="/isi"] *,
  [data-component="ISI" i], [data-component="ISI" i] *,
  [data-component="Important Safety Information" i], [data-component="Important Safety Information" i] *,
  .isi, .isi *, .experiencefragment, .experiencefragment *,
  [data-cq-resource-type="boreas/components/experiencefragment"],
  [data-cq-resource-type="boreas/components/experiencefragment"] *,
  :has(:is([data-cq-resource-type$="/isi"], [data-component="ISI" i],
    [data-component="Important Safety Information" i], .isi, .experiencefragment,
    [data-cq-resource-type="boreas/components/experiencefragment"], footer, .proxyfooter)),
  #chronic-hero, #chronic-hero *,
  .content-card, .content-card *,
  .dark, .dark *:not(:is(#functional-next-moa *, #functional-next-study *, #functional-next-patient *)),
  [data-component="ContentCard"], [data-component="ContentCard"] *,
  [data-cq-resource-type$="/button"], [data-cq-resource-type$="/button"] *,
  [data-component="Button"], [data-component="Button"] *,
  button, button *, .button, .button *, [role="button"], [role="button"] *,
  .text-white, .text-white *, .color-white, .color-white *,
  [style*="color: white"], [style*="color: white"] *,
  [style*="color: #fff"], [style*="color: #fff"] *,
  [style*="color: rgb(255"], [style*="color: rgb(255"] *,
  a:hover, a:hover *, a:focus, a:focus *, a:active, a:active *,
  .active, .active *, [aria-current], [aria-current] *,
  [aria-selected="true"], [aria-selected="true"] *
)) {
  color: #000000 !important;
}

/* The filled mechanism-of-action CTA had white text before this change. */
body:has(#chronic-hero):has(#chronic-hero):has(#chronic-hero) [text="VIEW MECHANISM OF ACTION"],
body:has(#chronic-hero):has(#chronic-hero):has(#chronic-hero) [text="VIEW MECHANISM OF ACTION"] *,
body:has(#chronic-hero):has(#chronic-hero):has(#chronic-hero) [data-link-name="VIEW MECHANISM OF ACTION"],
body:has(#chronic-hero):has(#chronic-hero):has(#chronic-hero) [data-link-name="VIEW MECHANISM OF ACTION"] * {
  color: #ffffff !important;
}

/* Accordion labels are content controls, not filled white-text CTAs. */
body:has(#chronic-hero) :is(#chronic-biomarkers-accordion, #functional-cure-faqs)
:is(button, button *, [role="button"], [role="button"] *)
:not(:is(button:hover, button:hover *, button:focus, button:focus *, button:active, button:active *, [aria-expanded="true"], [aria-expanded="true"] *)) {
  color: #000000 !important;
}

body:has(#chronic-hero) button[data-link-name="Show Transcript"]:not(:hover):not(:focus):not(:active),
body:has(#chronic-hero) button[data-link-name="Show Transcript"]:not(:hover):not(:focus):not(:active) * {
  color: #000000 !important;
}
