/* =====================================================================
   style.css — マイル還元率・価値の計算 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ダークは正規CSS変数のみを使用（未定義変数名は使わない）。
   ===================================================================== */

/* 金額・マイル・還元率はタブ幅数字で桁を揃える */
.sg-result__value,
.sg-result-row__value {
  font-variant-numeric: tabular-nums;
}

/* 付与条件の入力行: 入力欄と単位ラベルを横並びで整える */
.mrc-cond-row {
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.mrc-cond-input {
  max-width: 9rem;
}

.mrc-cond-unit {
  color: var(--sg-muted);
  white-space: nowrap;
}

/* 1マイルの価値プリセット: 交換先の目安を1タップで入力欄へ */
.mrc-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.mrc-presets__label {
  color: var(--sg-muted);
  font-size: 0.85rem;
}

.mrc-preset {
  cursor: pointer;
  border: 1px solid var(--sg-border);
  background: var(--sg-surface, transparent);
  color: inherit;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: nowrap;
}

.mrc-preset:hover {
  border-color: var(--sg-accent, #3b5bdb);
}

.mrc-preset[aria-pressed="true"] {
  border-color: var(--sg-accent, #3b5bdb);
  color: var(--sg-accent, #3b5bdb);
  font-weight: 600;
}
