/* Heart-Rate Zones & Maximum Heart Rate (ROADMAP-Calcs-SelfHealth.md SH9) — age and sex in one
   row, the emergency box, the medicine question under the answer, the zones table and the notes. */
.chqt-sh-pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.chqt-sh-pair select { width: 100%; min-height: 48px; }
.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; 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-rx { margin: 0; }
.chqt-sh-zonewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0; }
.chqt-sh-zones { width: 100%; border-collapse: collapse; }
.chqt-sh-zones caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.chqt-sh-zones th, .chqt-sh-zones td { padding: 8px 8px; border-bottom: 1px solid var(--chqt-line, #D9E5E8); text-align: left; vertical-align: top; }
.chqt-sh-pct { display: block; font-weight: 400; font-size: 16px; color: var(--chqt-muted, #4E626D); }
.chqt-sh-notes { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; gap: 10px; }
.chqt-sh-note { border-left: 4px solid var(--chqt-line, #D9E5E8); padding: 4px 0 4px 12px; line-height: 1.5; }
.chqt-sh-note--error, .chqt-sh-note--talk { border-left-color: #0F5E68; }
.chqt-sh-note--meds { border-left-color: #C2703B; }
.chqt-sh-note--call { border-left-color: #B03A30; }
.chqt-sh-note blockquote { margin: 6px 0 0; padding: 0 0 0 10px; border-left: 3px solid var(--chqt-line, #D9E5E8); font-style: italic; font-size: 17px; }
.chqt-sh-src { display: block; font-size: 16px; color: var(--chqt-muted, #4E626D); margin-top: 3px; }
.chqt-sh-src a { color: inherit; }
/* ⚠️ the first phone screen (390×664 on the gate's iPhone, ~121 px of live header) */
@media (max-width: 460px) {
  .chqt[data-tool="heart-rate-zones"] .chqt-lede,
  .chqt[data-tool="heart-rate-zones"] .chqt-kicker,
  .chqt[data-tool="heart-rate-zones"] .chqt-sh-formhint { display: none; }
  .chqt[data-tool="heart-rate-zones"] .chqt-sh-emergency { padding: 8px 10px; margin-bottom: 10px; }
  .chqt[data-tool="heart-rate-zones"] .chqt-result { padding-top: 12px; }
  .chqt-sh-zones th, .chqt-sh-zones td { padding: 8px 4px; }
}
