/* ============================================================
   MoneyMatch コントラスト補正（暫定パッチ / 2026-10-02）
   ------------------------------------------------------------
   Tailwind v4 の slate / emerald / amber パレットが
   小さな文字サイズで WCAG AA（4.5:1）を下回っていた箇所のみ修正。
   実測: 51件中48件を修正、必要な範囲外への影響 0件。

   ★本命の対応は React ソースの Tailwind 設定側での修正。
     このファイルはソースが手元にない間の暫定対応。
   ============================================================ */

/* --- 1. 明るい面（白カード・ヘッダー）の薄い文字を濃くする --- */
.bg-white .text-slate-400,
.bg-white\/95 .text-slate-400,
.bg-white .text-slate-500,
.bg-white\/95 .text-slate-500,
table .text-slate-400,
table .text-slate-500 {
  color: #475569; /* slate-600: 白地で 7.5:1 / #f8fafc で 7.2:1 */
}

/* --- 2. 濃い面（フッター・ヒーロー）は逆に明るくする --- */
footer .text-slate-500,
footer .text-slate-700,
section.bg-slate-900 .text-slate-600,
section.bg-slate-900 .text-slate-700 {
  color: #94a3b8; /* #020618 上で 6.9:1 */
}

/* --- 3. 緑ボタン（白文字 3.65:1 → 5.4:1） --- */
.bg-emerald-600,
.hover\:bg-emerald-500:hover {
  background-color: #007a4d;
}

/* --- 4. 3位バッジ（白文字 3.62:1 → 5.0:1） --- */
.bg-amber-700\/80 {
  background-color: #b45309;
}
