/* Heat Blocks デザイントークン
   LPcats デザインシステム（docs/design/LPCATS_DESIGN.md, docs/design/tokens.lpcats.css）をそのまま使い、
   primary（青緑）の系統だけを Heat Blocks の暖色に置き換えたもの。置き換えの根拠は docs/design/HEATMAP_THEME.md。
   画面のCSSは必ずここの「役割」の変数（--text-*, --bg-*, --border-*）を使う。パレット（--primary-60 など）を直接使わない。 */
:root {
  /* パレット：primary（暖色。LPcats の primary/10〜90 に対応） */
  --primary-10: #f9eee9;
  --primary-20: #f3ddd2;
  --primary-30: #edccbc;
  --primary-40: #e7bba5;
  --primary-50: #ce764c;
  --primary-60: #c2541f; /* 白文字とのコントラスト 4.58（LPcats の #1C7F9D と同等） */
  --primary-70: #a5471a;
  --primary-80: #803714;
  --primary-90: #59270e;
  --brand-accent: #d9622b; /* 旧 Heatcats の色。ロゴ・大きな装飾にだけ使う（文字・塗りボタンには使わない） */

  /* 役割（推奨） */
  --text-black: #1d1d1d;
  --text-sub: #4f4f4f;
  --text-disable: #828282;
  --text-primary: var(--primary-60);
  --text-primary-active: var(--primary-70); /* 押している間のリンク（白地で 6.5） */
  --text-secondary: #2c3d50;
  --text-link: #2f80ed;
  --text-white: #ffffff;
  --text-success: #1f8b4d;
  --text-error: #eb5757;
  --text-inactive: #bdbdbd;
  --text-black-vuetify: rgba(0,0,0,.87); /* 既存のみ */
  --text-date: #7a8a9a; /* 既存のみ */
  --text-secondary-alt: #2c3e50; /* 既存のみ */
  --bg-page: #f3f3f3;
  --bg-white: #ffffff;
  --bg-primary: var(--primary-60);
  --bg-primary-light: var(--primary-10);
  --bg-primary-hover: var(--primary-20);
  --bg-secondary: #2c3d50;
  --bg-disable: #bdbdbd;
  --bg-hover: #f3f3f3;
  --bg-pressed: #e0e0e0; /* 押している間の行・タブ・メニュー（bg/hover の一段濃い灰。Gray05 と同じ値） */
  --bg-error: #eb5757;
  --bg-success-light: #d4efdf;
  --bg-input-disable: #e9ecef; /* 既存のみ */
  --bg-muted: #efefef; /* 既存のみ */
  --bg-button-soft: #f3f7fb; /* 既存のみ */
  --bg-scrim: rgba(0,0,0,.5);
  --bg-heatmap: #f49a9a; /* ヒートマップのセル（heatmap-cell）。数値の大きさは透明度で表す（LPCATS_DESIGN.md heatmap-cell・HEATMAP_THEME.md「置き換えないもの」） */
  --border-default: #e0e0e0;
  --border-strong: #bdbdbd;
  --border-primary: var(--primary-60);
  --border-focus: #5999f1;
  --border-error: #eb5757;
  --border-disable: #4f4f4f;
  --border-table: rgba(0,0,0,.12); /* 既存のみ */
  --border-list: #e6ebf1; /* 既存のみ */
  --border-button-soft: #dfe8f2; /* 既存のみ */
  /* 余白 */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  /* 角丸 */
  --radius-3: 3px;
  --radius-4: 4px;
  --radius-5: 5px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-11: 11px;
  --radius-full: 9999px;
  /* 影 */
  --shadow-float: 0 4px 15px rgba(0,0,0,.15);
  --shadow-card: 0 4px 7.5px rgba(0,0,0,.1);
  --shadow-card-weak: 0 2px 4px rgba(0,0,0,.06);
  --shadow-table-head: inset 0 -1px 0 rgba(0,0,0,.12);
  /* 動き（LPCATS_DESIGN.md「動き・押したとき・読み込み」）。transition・animation の時間と曲線はここの変数だけを使う（ds/motion-literal） */
  --motion-duration-fast: 100ms;    /* 押した・離した・ホバーの色 */
  --motion-duration-normal: 200ms;  /* トグル・開閉の矢印・トースト・小さな出入り */
  --motion-duration-slow: 300ms;    /* モーダル・覆い・パネル・上部の棒 */
  --motion-easing-standard: cubic-bezier(.2, 0, 0, 1); /* 画面の中で変わる（Material 3 の standard） */
  --motion-easing-enter: cubic-bezier(0, 0, 0, 1);     /* 入ってくる */
  --motion-easing-exit: cubic-bezier(.3, 0, 1, 1);     /* 出ていく */
  --motion-easing-loop: ease-in-out;                    /* 繰り返しの動き */
  --motion-easing-linear: linear;                       /* 回る印 */
  --motion-loop-spinner: 800ms;        /* busy-spinner 1 周 */
  --motion-loop-indeterminate: 1600ms; /* 終わりの分からない棒 */
  --motion-loop-shimmer: 1400ms;       /* skeleton の光 */
  --motion-loop-bounce: 1000ms;        /* loading-overlay の図 */
  --motion-loop-pulse: 2000ms;         /* 動きを減らす設定のときの明滅 */
  --motion-press-scale: .98;           /* 押したときの縮み */
  --state-pressed-filter: brightness(.88); /* 押したときに塗りの面を少し暗く */
  /* 読み込みの時間の決まり（admin.html の busy()・routeProgress() が読む） */
  --loading-delay-busy: 100ms;      /* これより早く終われば何も出さない */
  --loading-min-busy: 400ms;        /* 一度出した送信中は最低これだけ見せる（ちらつき防止） */
  --loading-delay-skeleton: 1000ms; /* 前の中身を残しているとき、これを超えたらスケルトン */
  --font-family: "Roboto", "Noto Sans JP", sans-serif;
  /* 文字（LPCATS_DESIGN.md「文字（推奨）」の表。推奨は 12・14・16px（本文）、21px（ページ見出し）、24px（数値）） */
  --font-size-12: 12px; /* Text - SS */
  --font-size-14: 14px; /* Text - S */
  --font-size-16: 16px; /* Text - M */
  --font-size-19: 19px; /* Text - L */
  --font-size-21: 21px; /* Title - 21 */
  --font-size-24: 24px; /* Number - 24 */
  --line-height-16-8: 16.8px; /* Text - SS */
  --line-height-24: 24px; /* Number - 24 */
  --line-height-26: 26px; /* Text - S */
  --line-height-29: 29px; /* Text - M / L */
  --line-height-29-2: 29.2px; /* Title - 21 */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}
