/* =====================================================================
   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);
}

/* 区切り線 */
.sg-hr {
  border: none;
  border-top: 1px solid var(--sg-border, #e5e7eb);
  margin: var(--sg-space-4) 0;
}

/* 水の量プリセットボタン */
.dashi-presets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sg-space-2, 8px);
  margin-top: var(--sg-space-2, 8px);
}
.dashi-preset {
  appearance: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--sg-border, #e5e7eb);
  background: var(--sg-surface, #fff);
  color: var(--sg-text, #1f2937);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.dashi-preset:hover {
  border-color: var(--sg-accent, #3b5bdb);
  color: var(--sg-accent, #3b5bdb);
}
.dashi-preset:active {
  transform: translateY(1px);
}

/* 料理別のだしの濃さの目安：右カラムの説明は折り返しを許可 */
.dashi-guide__note {
  font-variant-numeric: normal;
  text-align: right;
  white-space: normal;
  color: var(--sg-muted, #6b7280);
  font-size: 0.9rem;
  max-width: 62%;
}
