/* Cost per Effective Serving — its own styles (the shared ones are core/tools.css). Scoped .chqt-cs*. */
.chqt-cs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chqt-cs-row .chqt-input { flex: 1 1 140px; }
.chqt-cs-card { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; padding: 12px; }
.chqt-cs-card > legend { padding: 0 4px; }
.chqt-cs-name { margin-bottom: 8px; }
.chqt-cs-name input { font-size: 16px; }
.chqt-cs-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chqt-cs-cur { padding-left: 12px; color: var(--chqt-muted); font-size: 16px; }
.chqt-cs-trio input { padding-left: 8px; padding-right: 6px; font-size: 17px; }
.chqt-cs-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-cs-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.3; color: var(--chqt-ink); }
.chqt-cs-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-cs-table th, .chqt-cs-table td { padding: 7px 8px; border-top: 1px solid var(--chqt-line); text-align: left; }
.chqt-cs-table thead th { font-size: 13px; color: var(--chqt-muted); font-weight: 700; border-top: 0; overflow-wrap: anywhere; }
.chqt-cs-table td { font-variant-numeric: tabular-nums; }
.chqt-cs-table td.chqt-cs-best { font-weight: 700; background: var(--chqt-cream); }
.chqt-cs-med { margin-top: 6px; }
@media (max-width: 420px) { .chqt-cs-trio { gap: 6px; } .chqt-cs-table { font-size: 14px; } .chqt-cs-table th, .chqt-cs-table td { padding: 7px 5px; } }
