/* Hemoglobin Level Ranges — its own styles (the shared ones are core/tools.css). Scoped .chqt-hb*. */
.chqt-hb-units { margin-top: 4px; }
.chqt-hb-more summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.chqt-hb-bar { position: relative; display: flex; height: 22px; border-radius: 11px; overflow: hidden; border: 1px solid var(--chqt-line); }
.chqt-hb-z { display: block; height: 100%; }
.chqt-hb-z1 { width: 14%; background: #f1c9b8; }
.chqt-hb-z2 { width: 29%; background: #f6e2c9; }
.chqt-hb-z3 { width: 28%; background: #cfe3dc; }
.chqt-hb-z4 { width: 29%; background: #e6eef6; }
.chqt-hb-you { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: var(--chqt-ink); }
.chqt-hb-scale { position: relative; height: 18px; margin: 2px 0 0; font-size: 12.5px; color: var(--chqt-muted); }
.chqt-hb-scale span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.chqt-hb-scale span:nth-child(1) { left: 0; transform: none; }
.chqt-hb-scale span:nth-child(2) { left: 28.6%; }
.chqt-hb-scale span:nth-child(3) { left: 57.1%; }
.chqt-hb-scale span:nth-child(4) { right: 0; transform: none; }
.chqt-hb-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-hb-table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.35; color: var(--chqt-ink); }
.chqt-hb-table caption { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); padding: 10px 10px 4px; }
.chqt-hb-table th, .chqt-hb-table td { padding: 7px 8px; border-top: 1px solid var(--chqt-line); text-align: left; vertical-align: top; }
.chqt-hb-table thead th { font-size: 13px; color: var(--chqt-muted); border-top: 0; }
.chqt-hb-table tr.chqt-hb-here th, .chqt-hb-table tr.chqt-hb-here td { background: var(--chqt-cream); font-weight: 700; }
.chqt-hb-med { margin-top: 6px; }
@media (max-width: 460px) { .chqt[data-tool="hemoglobin-level-ranges"] .chqt-lede, .chqt[data-tool="hemoglobin-level-ranges"] .chqt-kicker { display: none; } }
@media (max-width: 420px) { .chqt-hb-table { font-size: 14px; } .chqt-hb-table th, .chqt-hb-table td { padding: 7px 5px; } }
/* the live header is ~123 px taller than the preview's: tighter gaps keep the answer on the 390×664 first screen */
@media (max-width: 460px) { .chqt[data-tool="hemoglobin-level-ranges"] .chqt-form { gap: 8px; } .chqt[data-tool="hemoglobin-level-ranges"] .chqt-grid { gap: 10px; } }
