/* Phase 7k.8: CBC panel page and its deep pages (hemoglobin, platelets, WBC). Loaded only there, on top of
   biomarker-page.css, so the shipped biomarker pages keep their stylesheet versions. */
.bm-part-of { margin: 0 0 16px; }
.bm-part-of a { color: var(--accent); }
/* Jump nav: plain anchors; a horizontally scrollable chip row on narrow screens (scrolls inside itself, not the page). */
.bm-jump { margin: 0 0 18px; }
.bm-jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bm-jump a { display: inline-block; padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); white-space: nowrap; }
.bm-jump a:hover, .bm-jump a:focus-visible { border-color: var(--accent); color: var(--accent); }
.bm-panel-table { min-width: 0; width: 100%; table-layout: fixed; }
.bm-panel-table th, .bm-panel-table td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; text-align: left; }
.bm-panel-table th[scope="row"] { width: 20%; color: var(--text); background: transparent; }
.bm-panel-table th[scope="col"]:nth-child(3) { width: 24%; }
.bm-panel-table th[scope="col"]:nth-child(4) { width: 22%; }
.bm-codes { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.bm-deep-link, .bm-panel-table td a { color: var(--accent); }
.bm-high-low { padding-left: 18px; }
.bm-high-low li { margin-bottom: 6px; }
.bm-analyte-ranges { margin-top: 12px; }
.bm-analyte-ranges .bm-range-set { margin-top: 10px; }
/* Interaction table with a "Measured" column (rows tagged with a panel analyte). */
.bm-measured .bm-interaction-table th[scope="col"]:nth-child(2) { width: 14%; }
.bm-measured .bm-interaction-table th[scope="col"]:nth-child(3) { width: 14%; }
.bm-measured .bm-interaction-table th[scope="col"]:nth-child(4) { width: auto; }
.bm-measured .bm-interaction-table th[scope="col"]:nth-child(5) { width: 14%; }
.bm-measured .bm-interaction-table th[scope="row"] { width: 20%; }
@media (max-width: 640px) {
  .bm-jump ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .bm-panel-table { table-layout: auto; }
  .bm-panel-table thead { display: none; }
  .bm-panel-table tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); }
  .bm-panel-table th[scope="row"], .bm-panel-table td { display: block; width: auto; padding: 2px 0; border: 0; }
  .bm-panel-table th[scope="row"] { margin-bottom: 4px; font-size: 15px; }
  .bm-panel-table td[data-label]::before { content: attr(data-label); display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .bm-measured .bm-interaction-table th[scope="row"] { width: auto; }
}
