/* Design tokens. Every text/background pair below is at least 4.5:1 (WCAG AA);
   control borders (--border-strong) are at least 3:1 on white. */
:root {
  /* Colors */
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #595959;
  --completed-text: #595959;  /* gray on white: 7:1, above WCAG AA 4.5:1 */
  --border: #d9d9d9;
  --line: #d0d0d0;
  --border-strong: #767676;
  --accent: #1a56db;
  --accent-hover: #1648b8;
  --focus-color: #1a56db;
  --danger: #b00020;
  --overdue-color: #b00020;   /* red on white: 7:1 */
  --danger-bg: #fdecee;
  --success-text: #14532d;
  --success-bg: #e6f4ea;
  --success-border: #8fc9a0;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Shape and depth */
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h1: 1.5rem;
  --fw-600: 600;
  --lh: 1.5;
}
