/* Caffeine Half-Life & Sleep Cutoff Calculator — its own styles (the shared ones are core/tools.css). Scoped .chqt-ch*. */
.chqt-ch-drinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chqt-ch-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--chqt-line); }
.chqt-ch-row .chqt-ch-sel { grid-column: 1 / -1; min-width: 0; }
.chqt-ch-time input, .chqt-ch-mg input { font-size: 17px; padding-left: 10px; padding-right: 6px; }
.chqt-ch-del { min-height: 44px; min-width: 44px; border: 1.5px solid var(--chqt-line); border-radius: 12px; background: #fff; color: var(--chqt-muted); font-size: 20px; cursor: pointer; }
.chqt-ch-mods { display: flex; flex-direction: column; gap: 2px; }
.chqt-ch-mods label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--chqt-ink); cursor: pointer; }
.chqt-ch-mods input { width: 22px; height: 22px; flex: 0 0 22px; font-size: 16px; accent-color: var(--chqt-ink); }
.chqt-ch-mods small { color: var(--chqt-muted); font-size: 13.5px; }
.chqt-ch-fig { margin-top: 4px; }
.chqt-ch-area { fill: #cfe3dc; stroke: var(--chqt-accent); stroke-width: 2; }
.chqt-ch-grid { stroke: var(--chqt-line); stroke-width: 1; }
.chqt-ch-bed { stroke: var(--chqt-ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chqt-ch-axis { font-size: 18px; fill: var(--chqt-muted); }
.chqt-ch-checks { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.chqt-ch-checks li { padding: 7px 0; border-top: 1px solid var(--chqt-line); }
.chqt-ch-checks li[data-ok="0"] { color: #8f2f27; }
.chqt-ch-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-ch-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.3; color: var(--chqt-ink); }
.chqt-ch-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-ch-table th, .chqt-ch-table td { padding: 7px 8px; border-top: 1px solid var(--chqt-line); text-align: left; }
.chqt-ch-table thead th { font-size: 13px; color: var(--chqt-muted); font-weight: 700; border-top: 0; }
.chqt-ch-med { margin-top: 6px; }
@media (max-width: 520px) {
  .chqt-ch-table { font-size: 14px; }
  .chqt-ch-table th, .chqt-ch-table td { padding: 7px 5px; }
}
