{
 "schema_version": 1,
 "diagram_type": "architecture",
 "meta": {
  "title": "Tháp dinh dưỡng tăng cơ cho nam 40 tuổi tập gym (60 → 70 kg)",
  "locale": "vi",
  "translations": {
   "legend.title": "Chú giải",
   "legend.architecture.frontend": "Frontend",
   "legend.architecture.backend": "Backend",
   "legend.architecture.database": "Cơ sở dữ liệu",
   "legend.architecture.cloud": "Cloud",
   "legend.architecture.security": "Bảo mật",
   "legend.architecture.messagebus": "Message bus",
   "legend.architecture.external": "Bên ngoài",
   "legend.workflow.frontend": "Giao diện",
   "legend.workflow.backend": "Xử lý nghiệp vụ",
   "legend.workflow.security": "Kiểm soát",
   "legend.workflow.messagebus": "Tác vụ",
   "legend.workflow.database": "Dữ liệu",
   "legend.workflow.cloud": "Dịch vụ cloud",
   "legend.workflow.external": "Đối tượng ngoài",
   "legend.sequence.emphasis": "yêu cầu chính",
   "legend.sequence.return": "phản hồi",
   "legend.sequence.security": "bảo mật",
   "legend.sequence.dashed": "bất đồng bộ",
   "legend.sequence.default": "thông điệp",
   "legend.dataflow.emphasis": "dữ liệu chính",
   "legend.dataflow.security": "chính sách / PII",
   "legend.dataflow.dashed": "batch / bất đồng bộ",
   "legend.dataflow.database": "kho dữ liệu",
   "legend.dataflow.default": "luồng dữ liệu",
   "legend.lifecycle.start": "trạng thái đầu",
   "legend.lifecycle.active": "đang xử lý",
   "legend.lifecycle.waiting": "chờ",
   "legend.lifecycle.decision": "quyết định",
   "legend.lifecycle.success": "thành công",
   "legend.lifecycle.failure": "thất bại / thoát",
   "legend.lifecycle.neutral": "trung tính",
   "legend.lifecycle.external": "bên ngoài",
   "legend.lifecycle.final": "trạng thái kết thúc",
   "legend.erd.pk": "Khoá chính",
   "legend.erd.fk": "Khoá ngoại",
   "legend.erd.uk": "Khoá duy nhất",
   "legend.erd.one": "Một",
   "legend.erd.many": "Nhiều",
   "legend.erd.optional": "Tuỳ chọn",
   "legend.class.dependency": "Phụ thuộc",
   "legend.class.association": "Liên kết",
   "legend.class.inheritance": "Kế thừa",
   "legend.class.realization": "Hiện thực",
   "legend.class.composition": "Hợp thành",
   "legend.class.aggregation": "Kết tập",
   "legend.timeline.default": "Sự kiện",
   "legend.timeline.change": "Thay đổi",
   "legend.timeline.alert": "Cảnh báo",
   "legend.timeline.action": "Hành động",
   "legend.timeline.recovery": "Phục hồi",
   "timeline.axis": "Thời gian",
   "timeline.evidence.observed": "Sự kiện ghi nhận",
   "timeline.evidence.illustrative": "Dữ liệu minh hoạ",
   "legend.waterfall.ok": "Hoàn tất",
   "legend.waterfall.error": "Lỗi",
   "legend.waterfall.cancelled": "Đã huỷ",
   "legend.waterfall.incomplete": "Chưa kết thúc",
   "waterfall.evidence.measured": "Thời gian đo thực tế",
   "waterfall.evidence.illustrative": "Thời gian minh hoạ",
   "waterfall.wall": "Tổng thời gian {duration}",
   "waterfall.share": "{percent} trên {total} tổng thời gian",
   "waterfall.operation": "Thao tác",
   "waterfall.incomplete": "chưa kết thúc, ≥ {duration}"
  },
  "output": "thap-dinh-duong-gym.html",
  "quality_profile": "showcase",
  "legend": {
   "entries": {
    "security": {
     "label": "Bổ sung"
    },
    "database": {
     "label": "Chất béo tốt"
    },
    "backend": {
     "label": "Đạm"
    },
    "cloud": {
     "label": "Tinh bột"
    },
    "frontend": {
     "label": "Rau & trái cây"
    },
    "external": {
     "label": "Nền móng"
    }
   }
  }
 },
 "components": [
  {
   "id": "sup",
   "type": "security",
   "label": "Whey · creatine · vit D",
   "sublabel": "khi ăn chưa đủ",
   "pos": [
    515,
    60
   ],
   "size": [
    168,
    62
   ],
   "icon": "flag"
  },
  {
   "id": "fat1",
   "type": "database",
   "label": "Lạc, vừng, hạt điều",
   "sublabel": "1 nắm ~30 g/ngày",
   "pos": [
    420,
    184
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "fat2",
   "type": "database",
   "label": "Dầu ăn, cá béo, trứng",
   "sublabel": "2–3 thìa dầu; cá 2 lần/tuần",
   "pos": [
    610,
    184
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "pro1",
   "type": "backend",
   "label": "Thịt nạc, ức gà, bò",
   "sublabel": "200–250 g sống/ngày",
   "pos": [
    325,
    308
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "pro2",
   "type": "backend",
   "label": "Cá, tôm, trứng",
   "sublabel": "100–150 g cá + 3 quả trứng",
   "pos": [
    515,
    308
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "pro3",
   "type": "backend",
   "label": "Sữa, sữa chua, đậu phụ",
   "sublabel": "2 hộp sữa chua + 1 bìa đậu",
   "pos": [
    705,
    308
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "carb1",
   "type": "cloud",
   "label": "Cơm trắng, gạo lứt",
   "sublabel": "4 bát/ngày",
   "pos": [
    230,
    432
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "carb2",
   "type": "cloud",
   "label": "Khoai lang, ngô",
   "sublabel": "200 g bữa phụ",
   "pos": [
    420,
    432
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "carb3",
   "type": "cloud",
   "label": "Yến mạch, bánh mì",
   "sublabel": "bữa sáng, trước tập",
   "pos": [
    610,
    432
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "carb4",
   "type": "cloud",
   "label": "Phở, bún, miến",
   "sublabel": "1 bữa/ngày thay cơm",
   "pos": [
    800,
    432
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "veg1",
   "type": "frontend",
   "label": "Rau muống, cải, ngót",
   "sublabel": "1–2 đĩa mỗi bữa",
   "pos": [
    135,
    556
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "veg2",
   "type": "frontend",
   "label": "Súp lơ, bắp cải",
   "sublabel": "rau họ cải 3–4 lần/tuần",
   "pos": [
    325,
    556
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "veg3",
   "type": "frontend",
   "label": "Cà chua, cà rốt, bí",
   "sublabel": "màu sắc đa dạng",
   "pos": [
    515,
    556
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "veg4",
   "type": "frontend",
   "label": "Chuối, cam, ổi, đu đủ",
   "sublabel": "2–3 phần/ngày",
   "pos": [
    705,
    556
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "veg5",
   "type": "frontend",
   "label": "Đậu đỗ, giá, nấm",
   "sublabel": "thêm xơ và đạm thực vật",
   "pos": [
    895,
    556
   ],
   "size": [
    168,
    62
   ],
   "icon": "none"
  },
  {
   "id": "b1",
   "type": "external",
   "label": "Nước 2,5–3 lít",
   "sublabel": "thêm 0,5 lít ngày tập",
   "pos": [
    40,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "clock"
  },
  {
   "id": "b2",
   "type": "external",
   "label": "Ngủ 7–8 giờ",
   "sublabel": "cơ phục hồi khi ngủ",
   "pos": [
    230,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "moon"
  },
  {
   "id": "b3",
   "type": "external",
   "label": "Tập tạ 4 buổi/tuần",
   "sublabel": "tăng dần mức tạ",
   "pos": [
    420,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "person"
  },
  {
   "id": "b4",
   "type": "external",
   "label": "Ăn 5 bữa/ngày",
   "sublabel": "3 bữa chính + 2 bữa phụ",
   "pos": [
    610,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "calendar"
  },
  {
   "id": "b5",
   "type": "external",
   "label": "Cân mỗi tuần",
   "sublabel": "tăng 0,2–0,3 kg/tuần",
   "pos": [
    800,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "flag"
  },
  {
   "id": "b6",
   "type": "external",
   "label": "Hạn chế rượu bia",
   "sublabel": "giảm tổng hợp cơ",
   "pos": [
    990,
    680
   ],
   "size": [
    168,
    62
   ],
   "icon": "briefcase"
  }
 ],
 "boundaries": [
  {
   "kind": "region",
   "label": "Đỉnh · Bổ sung (tuỳ chọn)",
   "wraps": [
    "sup"
   ]
  },
  {
   "kind": "region",
   "label": "Chất béo tốt ~65–75 g/ngày",
   "wraps": [
    "fat1",
    "fat2"
   ]
  },
  {
   "kind": "region",
   "label": "Đạm 110–130 g/ngày (1,6–2 g/kg)",
   "wraps": [
    "pro1",
    "pro2",
    "pro3"
   ]
  },
  {
   "kind": "region",
   "label": "Tinh bột ~350–380 g/ngày",
   "wraps": [
    "carb1",
    "carb2",
    "carb3",
    "carb4"
   ]
  },
  {
   "kind": "region",
   "label": "Rau xanh & trái cây ≥ 500 g/ngày",
   "wraps": [
    "veg1",
    "veg2",
    "veg3",
    "veg4",
    "veg5"
   ]
  },
  {
   "kind": "region",
   "label": "Nền móng · lối sống",
   "wraps": [
    "b1",
    "b2",
    "b3",
    "b4",
    "b5",
    "b6"
   ]
  }
 ],
 "connections": [],
 "cards": [
  {
   "dot": "emerald",
   "title": "Mục tiêu mỗi ngày",
   "items": [
    "~2.500–2.600 kcal (dư ~300 kcal)",
    "Đạm 110–130 g, chia đều 4–5 bữa",
    "Tăng 0,2–0,3 kg/tuần, không vội"
   ]
  },
  {
   "dot": "orange",
   "title": "Ngày tập (tối)",
   "items": [
    "Bữa phụ 16h: tinh bột + đạm nhẹ",
    "Sau tập: cơm tối đủ đạm, hoặc whey",
    "Ngày nghỉ: bớt 1 phần tinh bột"
   ]
  },
  {
   "dot": "rose",
   "title": "Lưu ý tuổi 40",
   "items": [
    "Kiểm tra sức khoẻ trước khi tăng cân",
    "Ưu tiên ngủ và khởi động kỹ",
    "Bổ sung là đỉnh tháp, không thay bữa ăn"
   ]
  }
 ]
}