/* Folate vs Folic Acid (DFE) Calculator — its own styles (the shared ones are core/tools.css). Scoped .chqt-fd*. */
.chqt-fd-bar { padding: 2px 0; }
.chqt-fd-track { position: relative; display: block; height: 14px; border-radius: 7px; overflow: hidden; border: 1px solid var(--chqt-line); background: linear-gradient(90deg, #dcebe4 0, #dcebe4 66.67%, #f3e2d6 66.67%, #f3e2d6 100%); }
.chqt-fd-mark { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #8a3b12; }
.chqt-fd-you { position: absolute; top: -1px; bottom: -1px; width: 4px; margin-left: -2px; background: var(--chqt-ink); }
.chqt-fd-scale { position: relative; display: flex; justify-content: space-between; height: 18px; margin: 2px 0 6px; font-size: 12.5px; color: var(--chqt-muted); font-variant-numeric: tabular-nums; }
.chqt-fd-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-fd-table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.35; color: var(--chqt-ink); }
.chqt-fd-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-fd-table th, .chqt-fd-table td { padding: 6px 8px; border-top: 1px solid var(--chqt-line); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.chqt-fd-table thead th { font-size: 13px; color: var(--chqt-muted); border-top: 0; }
.chqt-fd-table tr[data-on] th, .chqt-fd-table tr[data-on] td { background: var(--chqt-cream); font-weight: 700; }
.chqt-fd-med { margin-top: 6px; }
/* on a phone the answer must clear the 390×664 first screen under the live header (VN49): the lede, the kicker and the
   tip (all said again in the copy below) step aside, and the gaps tighten */
@media (max-width: 460px) {
  .chqt[data-tool="folate-dfe-calculator"] .chqt-lede, .chqt[data-tool="folate-dfe-calculator"] .chqt-kicker, .chqt[data-tool="folate-dfe-calculator"] .chqt-fd-tip { display: none; }
  .chqt[data-tool="folate-dfe-calculator"] .chqt-form { gap: 8px; }
  .chqt[data-tool="folate-dfe-calculator"] .chqt-grid { gap: 10px; }
  .chqt-fd-table { font-size: 14px; } .chqt-fd-table th, .chqt-fd-table td { padding: 6px 5px; }
}
