/* Tea Caffeine vs Coffee — its own styles (the shared ones are core/tools.css). Scoped .chqt-te*. */
.chqt-te-temps { margin-top: 0; }
.chqt-te-temps button { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; }
.chqt-te-bars { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; margin: 6px 0 4px; }
.chqt-te-bl { margin: 0; font-size: 13px; font-weight: 700; color: var(--chqt-muted); }
.chqt-te-track { position: relative; height: 12px; border-radius: 6px; background: var(--chqt-cream); border: 1px solid var(--chqt-line); overflow: hidden; }
.chqt-te-b { position: absolute; top: 0; bottom: 0; left: 0; min-width: 2px; }
.chqt-te-btea { background: var(--chqt-accent); }
.chqt-te-bcof { background: var(--chqt-gold); }
.chqt-te-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-te-table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.35; color: var(--chqt-ink); }
.chqt-te-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-te-table th, .chqt-te-table td { padding: 6px 8px; border-top: 1px solid var(--chqt-line); text-align: left; font-variant-numeric: tabular-nums; }
.chqt-te-table thead th { font-size: 13px; color: var(--chqt-muted); border-top: 0; }
.chqt-te-table tbody th small { display: block; font-weight: 400; font-size: 12px; color: var(--chqt-muted); }
.chqt-te-table tr.chqt-te-here th, .chqt-te-table tr.chqt-te-here td { background: var(--chqt-cream); font-weight: 700; }
.chqt-te-table tr.chqt-te-cof th, .chqt-te-table tr.chqt-te-cof td { background: #f7eedd; }
.chqt-te-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="tea-caffeine-vs-coffee"] .chqt-lede, .chqt[data-tool="tea-caffeine-vs-coffee"] .chqt-kicker { display: none; }
  .chqt[data-tool="tea-caffeine-vs-coffee"] .chqt-form { gap: 8px; }
  .chqt[data-tool="tea-caffeine-vs-coffee"] .chqt-grid { gap: 10px; }
}
