/* Tart Cherry Juice for Sleep — its own styles (the shared ones are core/tools.css). Scoped .chqt-tc*. */
.chqt-tc-forms { margin-top: 0; }
.chqt-tc-forms button { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; }
.chqt-tc-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.chqt-tc-row .chqt-field { min-width: 0; }
.chqt-tc-bar { position: relative; height: 22px; border-radius: 11px; overflow: hidden; border: 1px solid var(--chqt-line); background: var(--chqt-cream); }
.chqt-tc-zone { position: absolute; top: 0; bottom: 0; background: #cfe3dc; }
.chqt-tc-you { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: var(--chqt-ink); }
.chqt-tc-scale { display: flex; justify-content: space-between; height: 18px; margin: 2px 0 0; font-size: 12.5px; color: var(--chqt-muted); }
.chqt-tc-count { font-weight: 600; }
.chqt-tc-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-tc-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; line-height: 1.35; color: var(--chqt-ink); }
.chqt-tc-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-tc-table th, .chqt-tc-table td { padding: 6px 8px; border-top: 1px solid var(--chqt-line); text-align: left; vertical-align: top; }
.chqt-tc-table thead th { font-size: 13px; color: var(--chqt-muted); border-top: 0; }
.chqt-tc-table tr.chqt-tc-here th, .chqt-tc-table tr.chqt-tc-here td { background: var(--chqt-cream); }
.chqt-tc-table td.chqt-tc-none { font-weight: 700; }
.chqt-tc-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="tart-cherry-juice-for-sleep"] .chqt-lede, .chqt[data-tool="tart-cherry-juice-for-sleep"] .chqt-kicker, .chqt[data-tool="tart-cherry-juice-for-sleep"] .chqt-tc-tip { display: none; }
  .chqt[data-tool="tart-cherry-juice-for-sleep"] .chqt-form { gap: 8px; }
  .chqt[data-tool="tart-cherry-juice-for-sleep"] .chqt-grid { gap: 10px; }
  .chqt[data-tool="tart-cherry-juice-for-sleep"] .chqt-tc-tipf { display: none; }
  .chqt-tc-row { gap: 8px; }
}
