{
  "version": "3.0",
  "color": {
    "light": {
      "canvas": "#FFFFFF",
      "surface": "#F5F5F7",
      "divider": "#D2D2D7",
      "text": "#1D1D1F",
      "text2": "#6E6E73",
      "text3": "#86868B",
      "black": "#000000",
      "accent": "#0071E3",
      "link": "#0066CC",
      "success": "#34C759",
      "warning": "#FF9F0A",
      "error": "#FF3B30",
      "info": "#5AC8FA",
      "border_input": "#86868B"
    },
    "dark": {
      "canvas": "#000000",
      "surface": "#1D1D1F",
      "divider": "#38383A",
      "text": "#F5F5F7",
      "text2": "#A1A1A6",
      "text3": "#86868B",
      "black": "#000000",
      "accent": "#0A84FF",
      "link": "#0A84FF",
      "success": "#30D158",
      "warning": "#FF9F0A",
      "error": "#FF453A",
      "info": "#64D2FF",
      "border_input": "#86868B"
    },
    "states": {
      "accent-fill": "#0071E3",
      "accent-fill-hover": "#0066CC",
      "accent-fill-pressed": "#0058BB",
      "on-accent": "#FFFFFF",
      "accent-disabled": "#99C6F4",
      "accent-tint": "#E6F1FC"
    },
    "semantic": {
      "success": {
        "fill": "#34C759",
        "tint": "#E7F8EB",
        "text": "#007F14",
        "dark": "#30D158",
        "cr_fill_white": 2.22,
        "cr_text_on_tint": 4.7
      },
      "warning": {
        "fill": "#FF9F0A",
        "tint": "#FFF3E2",
        "text": "#A75700",
        "dark": "#FF9F0A",
        "cr_fill_white": 2.06,
        "cr_text_on_tint": 4.78
      },
      "error": {
        "fill": "#FF3B30",
        "tint": "#FFE7E6",
        "text": "#D40011",
        "dark": "#FF453A",
        "cr_fill_white": 3.55,
        "cr_text_on_tint": 4.68
      },
      "info": {
        "fill": "#5AC8FA",
        "tint": "#EBF8FE",
        "text": "#0076A3",
        "dark": "#64D2FF",
        "cr_fill_white": 1.9,
        "cr_text_on_tint": 4.71
      }
    },
    "dataviz": {
      "categoricalLight": [
        "#0071E3",
        "#FF9F0A",
        "#5AC8FA",
        "#A2845E",
        "#FF2D55",
        "#AF52DE"
      ],
      "categoricalDark": [
        "#0A84FF",
        "#FF9F0A",
        "#64D2FF",
        "#AC8E68",
        "#FF375F",
        "#BF5AF2"
      ],
      "other": "#86868B",
      "sequentialLight": [
        "#EAF3FE",
        "#C4DDFA",
        "#9CC8F6",
        "#6A9BED",
        "#0071E3",
        "#004FA5",
        "#00306B"
      ],
      "sequentialDark": [
        "#06284D",
        "#0B54A1",
        "#0A84FF",
        "#64A4FF",
        "#8EC5FF",
        "#BBDAFF",
        "#E3F0FF"
      ],
      "divergingLight": [
        "#0071E3",
        "#72A5EF",
        "#B4D2F6",
        "#F5F5F7",
        "#FEDEB9",
        "#FFC272",
        "#FF9F0A"
      ],
      "divergingDark": [
        "#0A84FF",
        "#19569D",
        "#203453",
        "#1D1D1F",
        "#513A19",
        "#9A6513",
        "#FF9F0A"
      ],
      "minPairwiseDeltaE_CVD": {
        "n=2": 60.4,
        "n=3": 21.6,
        "n=4": 15.8,
        "n=5": 6.3,
        "n=6": 2.0
      },
      "safeSeriesCount": 4,
      "note": "Series 1-4 are colour-blind safe (min dE 15.8). 5-6 require direct labels + secondary encoding."
    },
    "focus": {
      "ring": {
        "light": "#0071E3",
        "dark": "#0A84FF"
      },
      "widthPx": 2,
      "offsetPx": 2,
      "note": "Solid ring; v2 45% ring measured 1.9:1"
    },
    "borderInput": {
      "value": "#86868B",
      "contrast": {
        "canvas": 3.6,
        "surface": 3.3,
        "black": 5.8
      }
    },
    "sources": {
      "appleVerified": [
        "#FF3B30/#FF453A",
        "#FF9500/#FF9F0A",
        "#34C759/#30D158",
        "#5AC8FA/#64D2FF",
        "#007AFF/#0A84FF",
        "#A2845E/#AC8E68",
        "#FF2D55/#FF375F",
        "#AF52DE/#BF5AF2",
        "#5856D6/#5E5CE6",
        "dark divider #38383A (UIKit opaqueSeparator dark)"
      ],
      "userSpecified": [
        "#000000",
        "#1D1D1F",
        "#6E6E73",
        "#86868B",
        "#0071E3",
        "#0066CC",
        "#FFFFFF",
        "#F5F5F7",
        "#D2D2D7",
        "#34C759",
        "#FF9F0A",
        "#FF3B30",
        "#5AC8FA"
      ],
      "datarist_derived": [
        "dark text-secondary #A1A1A6 (Apple computed #8D8D93 is lower contrast)",
        "status -text variants",
        "ramps",
        "accent fill hover/pressed",
        "border-input uses #86868B"
      ]
    }
  },
  "typography": {
    "sans": "-apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"SF Pro Display\", system-ui, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
    "mono": "ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
    "logoFont": "Outfit (outlined in the artwork; do not retype)",
    "scale": {
      "display": "34/41 600",
      "title1": "28/34 600",
      "title2": "22/28 600",
      "title3": "17/22 600",
      "bodyLg": "17/24 400",
      "body": "14/20 400",
      "label": "13/18 500",
      "caption": "12/16 400"
    },
    "numerals": "tabular"
  },
  "space": {
    "unit": 4,
    "scale": {
      "0": 0,
      "1": 4,
      "2": 8,
      "3": 12,
      "4": 16,
      "5": 20,
      "6": 24,
      "8": 32,
      "10": 40,
      "12": 48,
      "16": 64,
      "20": 80,
      "24": 96
    }
  },
  "radius": {
    "s": 8,
    "m": 12,
    "l": 16
  },
  "motion": {
    "instant": 100,
    "fast": 150,
    "base": 250,
    "slow": 400,
    "easeStandard": [
      0.25,
      0.1,
      0.25,
      1
    ],
    "easeOut": [
      0.32,
      0.72,
      0,
      1
    ],
    "easeIn": [
      0.4,
      0,
      1,
      1
    ]
  },
  "print": {
    "bleedMm": 3,
    "safeMm": 5,
    "maxTacPercent": 300,
    "cardTrimMm": [
      90,
      55
    ],
    "a4TrimMm": [
      210,
      297
    ],
    "printFont": "Inter (OFL) for embedded stationery text"
  },
  "layout": {
    "containerMaxPx": 1280,
    "breakpoints": {
      "sm": 640,
      "md": 1024,
      "lg": 1440
    },
    "columns": {
      "<640": 4,
      "640-1023": 8,
      "1024+": 12
    },
    "gutterPx": {
      "<1024": 16,
      "1024+": 24
    },
    "marginPx": {
      "<640": 16,
      "640": 24,
      "1024": 32,
      "1440": 48
    }
  },
  "density": {
    "comfortable": {
      "control": 44,
      "row": 52,
      "padx": 16,
      "gap": 16,
      "font": 15
    },
    "standard": {
      "control": 36,
      "row": 44,
      "padx": 12,
      "gap": 12,
      "font": 14
    },
    "compact": {
      "control": 28,
      "row": 32,
      "padx": 8,
      "gap": 8,
      "font": 13
    }
  },
  "target": {
    "minPx": 24,
    "touchPx": 44
  }
}