/* =====================================================================
   style.css — パスタの塩とゆで時間 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 結果値・内訳はタブ幅数字で桁を揃える */
.sg-result__value,
.sg-result-row__value {
  font-variant-numeric: tabular-nums;
}

/* 補助ラベルを入力直下に詰める */
.sg-field .sg-help {
  margin-top: var(--sg-space-1);
}

/* 乾麺量のプリセットボタン */
.pa-presets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sg-space-2, 8px);
  margin-top: var(--sg-space-2, 8px);
}
.pa-preset {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sg-text, #222);
  background: var(--sg-surface-2, #f2f4f8);
  border: 1px solid var(--sg-border, #d6dae2);
  border-radius: var(--sg-radius, 10px);
  cursor: pointer;
  white-space: nowrap;
}
.pa-preset:hover {
  border-color: var(--sg-primary, #3b5bdb);
}
.pa-preset:active {
  transform: translateY(1px);
}

/* 早見表の見出し（共有CSSにない場合のフォールバック定義） */
.sg-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--sg-space-3, 12px);
}

/* 麺の太さ別ゆで時間の早見表 */
.pa-guide-scroll {
  overflow-x: auto;
}
.pa-guide {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.pa-guide th,
.pa-guide td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--sg-border, #e3e6ec);
  vertical-align: top;
}
.pa-guide thead th {
  font-weight: 600;
  color: var(--sg-muted, #666);
  white-space: nowrap;
}
.pa-guide tbody th {
  font-weight: 600;
}
.pa-guide td {
  font-variant-numeric: tabular-nums;
}
