/* Glycine for Sleep — its own styles (the shared ones are core/tools.css). Scoped .chqt-gl*. */
.chqt-gl-bar { position: relative; height: 22px; border-radius: 11px; overflow: hidden; border: 1px solid var(--chqt-line); background: #f4efe6; }
.chqt-gl-zone { position: absolute; top: 0; bottom: 0; background: #cfe3dc; }
.chqt-gl-three { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #5b8f7d; }
.chqt-gl-you { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: var(--chqt-ink); }
.chqt-gl-scale { 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-gl-reach { font-weight: 700; }
.chqt-gl-warn { color: #8a3b12; font-weight: 600; }
.chqt-gl-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0; }
.chqt-gl-table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.35; color: var(--chqt-ink); }
.chqt-gl-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-gl-table th, .chqt-gl-table td { padding: 6px 8px; border-top: 1px solid var(--chqt-line); text-align: left; vertical-align: top; }
.chqt-gl-table thead th { font-size: 13px; color: var(--chqt-muted); border-top: 0; }
.chqt-gl-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,
   so 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="glycine-for-sleep"] .chqt-lede, .chqt[data-tool="glycine-for-sleep"] .chqt-kicker, .chqt[data-tool="glycine-for-sleep"] .chqt-gl-tip { display: none; }
  .chqt[data-tool="glycine-for-sleep"] .chqt-form { gap: 8px; }
  .chqt[data-tool="glycine-for-sleep"] .chqt-grid { gap: 10px; }
  .chqt-gl-table { font-size: 14px; } .chqt-gl-table th, .chqt-gl-table td { padding: 6px 5px; }
}
