/* Coconut Water Electrolytes — its own styles (the shared ones are core/tools.css). Scoped .chqt-cw*. */
.chqt-cw-units { margin-top: 0; }
.chqt-cw-units button { flex: 1 1 0; min-width: 0; }
.chqt-cw-own { border: 1px solid var(--chqt-line); border-radius: 12px; padding: 0 12px; background: #fff; }
.chqt-cw-own summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; font-size: 15px; }
.chqt-cw-ownf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.chqt-cw-own .chqt-hint { margin: 8px 0 12px; }
.chqt-cw-bars { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; margin: 6px 0 4px; }
.chqt-cw-bl { margin: 0; font-size: 13px; font-weight: 700; color: var(--chqt-muted); }
.chqt-cw-pair { display: grid; gap: 3px; }
.chqt-cw-b { display: block; height: 10px; border-radius: 5px; min-width: 2px; }
.chqt-cw-bme { background: var(--chqt-accent); }
.chqt-cw-bvs { background: var(--chqt-gold); }
.chqt-cw-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 6px; font-size: 13px; color: var(--chqt-muted); }
.chqt-cw-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.chqt-cw-lme::before { background: var(--chqt-accent); }
.chqt-cw-lvs::before { background: var(--chqt-gold); }
.chqt-cw-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-cw-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; line-height: 1.3; color: var(--chqt-ink); }
.chqt-cw-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-cw-table th, .chqt-cw-table td { padding: 6px 7px; border-top: 1px solid var(--chqt-line); text-align: left; font-variant-numeric: tabular-nums; vertical-align: top; }
.chqt-cw-table thead th { font-size: 12.5px; color: var(--chqt-muted); border-top: 0; }
.chqt-cw-table tbody th { font-weight: 600; max-width: 11em; }
.chqt-cw-table td small { display: block; font-size: 12px; color: var(--chqt-muted); }
.chqt-cw-table td.chqt-cw-high small { color: var(--chqt-ink); font-weight: 700; }
.chqt-cw-table tr.chqt-cw-me th, .chqt-cw-table tr.chqt-cw-me td { background: #e3f1ec; }
.chqt-cw-table tr.chqt-cw-vs th, .chqt-cw-table tr.chqt-cw-vs td { background: #f7eedd; }
.chqt-cw-med { margin-top: 6px; }
/* the live header is ~123 px taller than the preview's (VN49): on a phone the answer must clear the 390×664 first screen */
@media (max-width: 460px) {
  .chqt[data-tool="coconut-water-electrolytes"] .chqt-lede, .chqt[data-tool="coconut-water-electrolytes"] .chqt-kicker { display: none; }
  .chqt[data-tool="coconut-water-electrolytes"] .chqt-form { gap: 8px; }
  .chqt[data-tool="coconut-water-electrolytes"] .chqt-grid { gap: 10px; }
}
