/* Oxygen Tank Duration & Sizes (ROADMAP-Calcs-SelfHealth.md SH8) — the paired inputs, the
   emergency box, the red-line answer and the per-cylinder chart. */
/* cylinder, gauge and flow in ONE row, so the answer is on the first phone screen; the optional
   conserver ratio sits under the answer */
.chqt-sh-trio { display: grid; gap: 10px; grid-template-columns: 1.1fr 1fr 1fr; }
.chqt-sh-trio select, .chqt-sh-dl select { width: 100%; min-height: 48px; }
.chqt-sh-trio .chqt-input input { min-width: 0; }
.chqt-sh-lu { display: none; font-weight: 400; }
.chqt-sh-dl { margin: 0; }
.chqt-sh-emergency { border: 3px solid #B03A30; background: #FBEDEB; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.chqt-sh-emergency__text { margin: 0 0 6px; font-weight: 700; font-size: 18px; line-height: 1.45; color: #6E1E17; }
.chqt-sh-emergency__src { margin: 0; font-size: 16px; font-weight: 400; color: #6E1E17; white-space: nowrap; }
.chqt-sh-emergency__src a { color: inherit; }
.chqt-sh-reserve { border-left: 4px solid #C2703B; padding: 4px 0 4px 12px; line-height: 1.5; }
.chqt-sh-call { border-left: 4px solid #B03A30; padding: 4px 0 4px 12px; line-height: 1.5; }
.chqt-sh-pulse { border-left: 4px solid #0F5E68; padding: 4px 0 4px 12px; line-height: 1.5; }
.chqt-sh-src { display: block; font-size: 16px; color: var(--chqt-muted, #4E626D); margin-top: 3px; }
.chqt-sh-src a { color: inherit; }
.chqt-sh-chartwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.chqt-sh-chart { width: 100%; border-collapse: collapse; }
.chqt-sh-chart caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.chqt-sh-chart th, .chqt-sh-chart td { padding: 8px 10px; border-bottom: 1px solid var(--chqt-line, #D9E5E8); text-align: left; }
.chqt-sh-chart tr[data-hit="1"] th, .chqt-sh-chart tr[data-hit="1"] td { background: var(--chqt-cream, #F2F7F8); font-weight: 700; }
/* ⚠️ the first phone screen (390×664 on the gate's iPhone, ~121 px of live header): the lede,
   the kicker and the form hint repeat the labels and the answer, so they give way to it */
@media (max-width: 460px) {
  .chqt[data-tool="oxygen-tank-duration"] .chqt-lede,
  .chqt[data-tool="oxygen-tank-duration"] .chqt-kicker,
  .chqt[data-tool="oxygen-tank-duration"] .chqt-sh-formhint { display: none; }
  .chqt[data-tool="oxygen-tank-duration"] .chqt-sh-emergency { padding: 8px 10px; margin-bottom: 10px; }
  .chqt[data-tool="oxygen-tank-duration"] .chqt-sh-emergency__text { margin: 0; }
  .chqt[data-tool="oxygen-tank-duration"] .chqt-result { padding-top: 12px; }
  /* three fields in 340 px: the gauge needs "2015" and "psi", the flow only "2" and "L/min" */
  .chqt-sh-trio { gap: 8px; grid-template-columns: 1.15fr 1fr 1fr; }
  .chqt-sh-trio select { padding: 10px 24px 10px 8px; background-position: right 8px center; }
  .chqt-sh-trio .chqt-input input { padding: 12px 8px; }
  /* the unit moves from inside the box into the label, so the box holds the whole number */
  .chqt-sh-trio .chqt-input .chqt-unit { display: none; }
  .chqt-sh-trio .chqt-sh-lu { display: inline; }
}
