/* Electrolyte Powder Label Checker — its own styles (the shared ones are core/tools.css). Scoped .chqt-el*. */
.chqt-el-cost { border: 1px solid var(--chqt-line); border-radius: 12px; padding: 4px 12px; background: #fff; }
.chqt-el-cost summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.chqt-el-cost .chqt-pair { margin: 8px 0; }
.chqt-el-bars { margin: 10px 0 4px; }
.chqt-el-row + .chqt-el-row { margin-top: 8px; }
.chqt-el-name { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.chqt-el-track { position: relative; height: 16px; border-radius: 8px; overflow: hidden; background: var(--chqt-cream); border: 1px solid var(--chqt-line); }
.chqt-el-fill { position: absolute; left: 0; top: 0; bottom: 0; background: #8fbf9f; }
.chqt-el-fill[data-band="high"] { background: #d98a5f; }
.chqt-el-fill[data-band="low"] { background: #b9c7d6; }
/* the FDA's two lines: 5% (low at or under) and 20% (high at or over), on a bar that runs to 60% of the Daily Value */
.chqt-el-t5, .chqt-el-t20 { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--chqt-ink); opacity: .55; }
.chqt-el-t5 { left: 8.33%; }
.chqt-el-t20 { left: 33.33%; }
.chqt-el-ticks { position: relative; height: 18px; margin: 3px 0 0; font-size: 12.5px; color: var(--chqt-muted); font-variant-numeric: tabular-nums; }
.chqt-el-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.chqt-el-ticks span:first-child { left: 0; transform: none; }
.chqt-el-ticks span:last-child { left: auto; right: 0; transform: none; }
.chqt-el-h { margin: 12px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); }
.chqt-el-day { margin: 0 0 8px; padding-left: 1.2em; font-size: 15px; line-height: 1.45; }
.chqt-el-day li + li { margin-top: 4px; }
.chqt-el-costline { font-weight: 600; }
.chqt-el-med { margin-top: 6px; }
/* a line that has nothing to say (no slip, no sugars typed, no price) takes no room */
.chqt[data-tool="electrolyte-powder-checker"] .chqt-note:empty { display: none; }
@media (max-width: 460px) {
  /* the live header is ~123 px taller than the preview's (VN49): the lede, the kicker and the tip step aside on a phone,
     six fields sit in two rows of three, and the select stays at 16px (never under — iPhone zooms) with a tighter arrow */
  .chqt[data-tool="electrolyte-powder-checker"] .chqt-lede, .chqt[data-tool="electrolyte-powder-checker"] .chqt-kicker, .chqt[data-tool="electrolyte-powder-checker"] .chqt-el-tip { display: none; }
  .chqt[data-tool="electrolyte-powder-checker"] .chqt-form { gap: 8px; }
  .chqt[data-tool="electrolyte-powder-checker"] .chqt-grid { gap: 10px; }
  .chqt[data-tool="electrolyte-powder-checker"] .chqt-label { font-size: 13.5px; white-space: nowrap; }
  /* "Added sugars, g" does not fit a third of a phone: the label reads "sugars, g" there (the answer still says added sugars) */
  .chqt-el-wide { display: none; }
  .chqt[data-tool="electrolyte-powder-checker"] label[for="chqt-el-su"]::first-letter { text-transform: uppercase; }
  .chqt[data-tool="electrolyte-powder-checker"] select { font-size: 16px; padding: 10px 24px 10px 8px; background-position: right 8px center; }
  .chqt[data-tool="electrolyte-powder-checker"] .chqt-answer { font-size: 28px; }
}
