/* altitude-sickness-planner: this tool's own look, loaded only on its page (tools.css is shared and kept under 5 KB gz) */
.chqt-al-nights { display: flex; flex-direction: column; gap: 10px; }
.chqt-al-row { gap: 4px; }
.chqt-al-pair { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
.chqt-al-pair .chqt-input input { padding-right: 4px; }
.chqt-al-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chqt-al-btns .chqt-btn:disabled { opacity: .45; cursor: default; }
.chqt-al-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.chqt-al-sum { display: none; margin: 0; font-size: 15.5px; background: var(--chqt-cream, #fbf6ec); border-left: 4px solid var(--chqt-accent, #d79d32); padding: 8px 10px; border-radius: 6px; }
.chqt-al-sum a { font-weight: 700; color: var(--chqt-ink, #1e1a1a); }
.chqt-al-chart { display: block; width: 100%; height: auto; max-height: 220px; background: #fff; border: 1px solid var(--chqt-line, #eadfca); border-radius: 10px; }
.chqt-al-ok { fill: var(--chqt-accent, #d79d32); }
.chqt-al-bad { fill: #a3261b; }
.chqt-al-l2, .chqt-al-l3 { stroke: #6b625b; stroke-width: 1.5; stroke-dasharray: 5 3; }
.chqt-al-l3 { stroke: #1e1a1a; }
.chqt-al-t { font-size: 10px; fill: #6b625b; }
.chqt-al-list { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.chqt-al-list li { margin: 0 0 4px; padding: 4px 8px; border-left: 3px solid var(--chqt-line, #eadfca); }
.chqt-al-list li.is-bad { border-left-color: #a3261b; }
.chqt-al-list small { display: block; color: #a3261b; font-size: 13.5px; }
.chqt-al-list li:not(.is-bad) small { color: var(--chqt-muted, #6b625b); }
.chqt-al-rows { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border-radius: 10px; }
.chqt-al-rows caption { text-align: left; font-weight: 700; font-size: 14px; padding: 0 0 4px; }
.chqt-al-rows th, .chqt-al-rows td { text-align: left; padding: 6px 8px; border-top: 1px solid var(--chqt-line, #eadfca); vertical-align: top; }
.chqt-al-rows td:last-child { font-weight: 700; white-space: nowrap; }
.chqt-al-rows tr.is-top td:last-child { color: #a3261b; }
.chqt-al-adv { color: var(--chqt-ink, #1e1a1a); }
.chqt-al-safe { background: #fff4e5; border-left: 4px solid #a3261b; padding: 8px 10px; border-radius: 6px; color: var(--chqt-ink, #1e1a1a); }
@media (max-width: 860px) { .chqt-al-sum { display: block; } }
@media (max-width: 420px) { .chqt-al-two { grid-template-columns: 1fr; } .chqt-al-pair { grid-template-columns: minmax(0, 1fr) 112px; } }
