/* ══════════════════════════════════════════════════
   iTracker — Spacing & radius tokens
   ★ 本檔即 token 值正本，直接改這裡。站台載入 Pages/Shared/_DesignTokens.cshtml（一律在 site.css 之前）。

   Spacing: strict 4px base grid (Linear). --space-0_5 = 2px is the
   ONLY exception (badge/chip inner padding, thin indicator bars).
   1px hairlines and >40px layout gaps live outside this system.
   Spacing tokens never switch with theme.
   Radii: Linear-aligned even ladder 4/6/8/12. Nested corners stay
   concentric: inner radius < outer radius.
   ══════════════════════════════════════════════════ */
:root {
  --space-0_5: 2px;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;

  /* ── 表格/列高（2026-07-22 DS 定案；不隨主題切換）── */
  --row-data:       44px;   /* 標準列表資料列（list-row / issue-table / 報價表）*/
  --row-data-dense: 40px;   /* 甘特/負載資料列（任務列、成員列共用＝密度一致）*/
  --row-axis:       20px;   /* 甘特/負載時間軸刻度行（月/日/星期）*/
  --row-group:      40px;   /* 分組/組別標題列最小高 */

  --r-xs:   4px;     /* small buttons, icon buttons, badges, view-btn */
  --r-sm:   6px;     /* buttons, inputs, small components */
  --r-md:   8px;     /* inner cards, list panels, block containers */
  --r-lg:   12px;    /* outer cards, modal */
  --r-pill: 999px;   /* search box, filter count badge only — list labels use --r-xs */
}
