/* =====================================================================
   style.css — カフェイン摂取量チェック ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

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

.sg-mb-4 {
  margin-bottom: var(--sg-space-4);
}

/* 飲料の入力行：飲み物名（左）＋杯数入力（右） */
.cf-drink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.cf-drink:first-child {
  border-top: none;
}
.cf-drink__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
  cursor: pointer;
  min-width: 0;
}
.cf-drink__title {
  font-weight: 600;
}
.cf-drink__meta {
  font-size: 0.78rem;
  color: var(--sg-muted, #777);
}
.cf-drink__control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.cf-drink__input {
  width: 76px;
  text-align: right;
}
.cf-drink__unit {
  font-size: 0.85rem;
  color: var(--sg-muted, #777);
}

/* 目安上限を超えたときの注意色 */
.sg-result.is-warn .sg-result__value {
  color: #d9480f;
}
.sg-result.is-warn .sg-result__sub {
  color: #d9480f;
  font-weight: 600;
}
