/* =====================================================================
   style.css — 標高と気圧・沸点 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 計算方向の切替 */
.sg-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: var(--sg-space-1, 4px);
}
.sg-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

/* 数値入力＋単位 */
.sg-inputrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sg-inputrow .sg-input {
  flex: 1 1 auto;
  min-width: 0;
}
.sg-unit {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--sg-muted, #555);
  min-width: 3em;
}

/* 補助結果（気圧・相当標高など） */
.sg-result__sub {
  margin-top: var(--sg-space-1, 4px);
  color: var(--sg-muted, #555);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 早見表（3列: 標高 / 気圧 / 沸点） */
.sg-chart {
  display: flex;
  flex-direction: column;
}
.sg-chart-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row.is-head {
  font-weight: 600;
  color: var(--sg-muted, #555);
  border-bottom: 2px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row span:nth-child(2),
.sg-chart-row span:nth-child(3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
