{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Semantic roles for AI CJM Brand System. Aliases resolve across the three repository token sets.",
  "$extensions": {
    "com.aicjm": {
      "set": "semantic",
      "status": "draft",
      "contrastPairs": [
        { "id": "text-primary-page", "foreground": "text.primary", "background": "surface.page", "minimum": 4.5, "usage": "normal-text", "status": "stable" },
        { "id": "text-secondary-page", "foreground": "text.secondary", "background": "surface.page", "minimum": 4.5, "usage": "normal-text", "status": "stable" },
        { "id": "text-primary-subtle", "foreground": "text.primary", "background": "surface.subtle", "minimum": 4.5, "usage": "normal-text", "status": "stable" },
        { "id": "text-secondary-subtle", "foreground": "text.secondary", "background": "surface.subtle", "minimum": 4.5, "usage": "normal-text", "status": "stable" },
        { "id": "text-on-deep", "foreground": "text.on-deep", "background": "surface.deep", "minimum": 4.5, "usage": "normal-text", "status": "stable" },
        { "id": "primary-button", "foreground": "action.on-primary", "background": "action.primary", "minimum": 4.5, "usage": "button-text", "status": "stable" },
        { "id": "primary-link", "foreground": "action.primary", "background": "surface.page", "minimum": 4.5, "usage": "link-text", "status": "stable" },
        { "id": "input-boundary", "foreground": "border.input", "background": "surface.card", "minimum": 3, "usage": "control-boundary", "status": "stable" },
        { "id": "filter-active-indicator", "foreground": "state.active-indicator-on-deep", "background": "surface.deep", "minimum": 3, "usage": "state-indicator", "status": "stable" },
        { "id": "error-text-on-deep", "foreground": "status.error-on-deep", "background": "surface.deep", "minimum": 4.5, "usage": "status-text", "status": "candidate" }
      ]
    }
  },
  "surface": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "page": { "$value": "{color.neutral.0}" },
    "card": { "$value": "{color.neutral.0}" },
    "subtle": { "$value": "{color.neutral.50}" },
    "deep": { "$value": "{color.blue.950}" }
  },
  "text": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "primary": { "$value": "{color.neutral.950}" },
    "secondary": { "$value": "{color.neutral.700}" },
    "quiet": {
      "$description": "Restricted: 3.50:1 on white and 3.26:1 on subtle; not for normal-size text.",
      "$value": "{color.neutral.500}",
      "$extensions": { "com.aicjm": { "status": "candidate", "restriction": "large-text-or-non-text-only" } }
    },
    "on-deep": { "$value": "{color.neutral.0}" },
    "on-deep-muted": { "$value": "{color.white-alpha.72}" }
  },
  "action": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "primary": { "$value": "{color.blue.700}" },
    "primary-hover": { "$value": "{color.blue.800}" },
    "emphasis": { "$value": "{color.blue.600}" },
    "on-primary": { "$value": "{color.neutral.0}" },
    "secondary": { "$value": "{color.neutral.0}" },
    "on-secondary": { "$value": "{color.neutral.950}" }
  },
  "border": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "default": { "$value": "{color.line.default}" },
    "subtle": { "$value": "{color.line.subtle}" },
    "input": {
      "$description": "Accessible default input boundary normalized from the stable secondary ink color; 6.31:1 on card white.",
      "$value": "{color.neutral.700}"
    },
    "interactive": { "$value": "{color.blue.700}" },
    "on-deep": { "$value": "{color.white-alpha.16}" }
  },
  "focus": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "ring": { "$value": "{color.blue.600}" }
  },
  "status": {
    "$type": "color",
    "$extensions": {
      "com.aicjm": {
        "status": "candidate",
        "evidence": ["https://aicjm.ru/edu/styles.css?v=20260812-unified-person-cards"],
        "restriction": "deep-surface-error-feedback-only"
      }
    },
    "error-on-deep": {
      "$description": "Only status role supported by current live evidence; no light-surface, success or warning roles are implied.",
      "$value": "{color.feedback.error-on-deep}",
      "$extensions": { "com.aicjm": { "status": "stable" } }
    }
  },
  "state": {
    "$type": "color",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "active-indicator-on-deep": {
      "$description": "Visible selected-state indicator on deep navy; paired with deep fill, on-deep text and semantic selected state.",
      "$value": "{color.neutral.0}"
    }
  },
  "radius": {
    "$type": "dimension",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "surface": { "$value": "{size.radius.sharp}" },
    "control": { "$value": "{size.radius.sharp}" }
  },
  "layout": {
    "$type": "dimension",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "container-max": { "$value": "{size.container.maximum}" },
    "web-hero-measure": { "$value": "{size.content.web-hero}" },
    "gutter-desktop": { "$value": "{size.gutter.desktop}" },
    "gutter-tablet": { "$value": "{size.gutter.tablet}", "$extensions": { "com.aicjm": { "status": "candidate" } } },
    "gutter-mobile": { "$value": "{size.gutter.mobile}" },
    "section-space-min": { "$value": "{space.52}" },
    "section-space-max": { "$value": "{space.76}" }
  },
  "spacing": {
    "$type": "dimension",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "control-inline": { "$value": "{space.16}" },
    "control-inline-wide": { "$value": "{space.24}" },
    "control-gap": { "$value": "{space.12}" },
    "web-action-gap": { "$value": "{space.14}" },
    "card-desktop": { "$value": "{space.32}" },
    "card-mobile": { "$value": "{space.24}" }
  },
  "control": {
    "$type": "dimension",
    "$extensions": { "com.aicjm": { "status": "stable" } },
    "border-width": { "$value": "{size.border.default}" },
    "minimum-height": { "$value": "{size.control.minimum}" },
    "web-action-minimum-height": { "$value": "{size.control.web-action}" },
    "logo-minimum-width": { "$value": "{size.logo.minimum-width}" },
    "focus-ring-width": {
      "$value": "{size.border.focus}",
      "$extensions": { "com.aicjm": { "status": "candidate" } }
    },
    "focus-ring-offset": {
      "$value": "{size.focus.offset}",
      "$extensions": { "com.aicjm": { "status": "candidate" } }
    },
    "icon-stroke-width": {
      "$value": "{size.icon.stroke}",
      "$extensions": { "com.aicjm": { "status": "candidate" } }
    }
  },
  "type": {
    "family": {
      "$type": "fontFamily",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "primary": { "$value": "{font-family.sans}" }
    },
    "weight": {
      "$type": "fontWeight",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "body": { "$value": "{font-weight.regular}" },
      "label": { "$value": "{font-weight.medium}" },
      "heading": { "$value": "{font-weight.semibold}" },
      "web-hero": { "$value": "{font-weight.web-hero}" },
      "web-action": { "$value": "{font-weight.web-action}" },
      "brand": { "$value": "{font-weight.bold}" },
      "proof": { "$value": "{font-weight.extrabold}" }
    },
    "size": {
      "$type": "dimension",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "metadata": { "$value": "{font-size.12}" },
      "body-small": { "$value": "{font-size.14}" },
      "body": { "$value": "{font-size.16}" },
      "web-action": { "$value": "{font-size.15}" },
      "lead": { "$value": "{font-size.20}" },
      "heading-small": { "$value": "{font-size.22}" },
      "heading-medium": { "$value": "{font-size.36}" },
      "heading-large": { "$value": "{font-size.64}" },
      "display-min": { "$value": "{font-size.52}" },
      "display-max": { "$value": "{font-size.112}" },
      "web-hero-min": { "$value": "{font-size.52}" },
      "web-hero-max": { "$value": "{font-size.72}" },
      "web-section-min": { "$value": "{font-size.40}" },
      "web-section-max": { "$value": "{font-size.56}" }
    },
    "line-height": {
      "$type": "number",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "display": { "$value": "{line-height.display-tight}" },
      "web-display": { "$value": "{line-height.web-display}" },
      "heading": { "$value": "{line-height.heading}" },
      "metadata": { "$value": "{line-height.compact}" },
      "body": { "$value": "{line-height.body}" },
      "web-body": { "$value": "{line-height.web-body}" },
      "web-action": { "$value": "{line-height.web-action}" }
    },
    "tracking": {
      "$type": "number",
      "$extensions": { "com.aicjm": { "status": "stable", "cssUnit": "em" } },
      "display": { "$value": "{tracking.display-tight}" },
      "web-display": { "$value": "{tracking.web-display}" },
      "web-heading": { "$value": "{tracking.web-heading}" },
      "heading": { "$value": "{tracking.heading-tight}" },
      "body": { "$value": "{tracking.normal}" }
    }
  },
  "motion": {
    "duration": {
      "$type": "duration",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "feedback": { "$value": "{duration.quick}" },
      "state": { "$value": "{duration.standard}" },
      "entrance": { "$value": "{duration.entrance}" },
      "slow": { "$value": "{duration.slow}" }
    },
    "easing": {
      "$type": "cubicBezier",
      "$extensions": { "com.aicjm": { "status": "stable" } },
      "standard": { "$value": "{easing.standard}" }
    }
  },
  "elevation": {
    "$type": "shadow",
    "$extensions": { "com.aicjm": { "status": "candidate", "restriction": "temporary-layer-only" } },
    "overlay": { "$value": "{shadow.overlay}" }
  }
}
