{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "RestaurantWorkflow",
      "name": "Workflow/Restaurant",
      "reusable": true,
      "width": 1400,
      "height": 1000,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "WFHeader",
          "width": "fill_container",
          "padding": [24, 40],
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "WFTitle", "layout": "vertical", "gap": 4, "children": [
              {"type": "text", "id": "WFTitleText", "fill": "$text-primary", "content": "🍽️ RESTAURANT WORKFLOW", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"},
              {"type": "text", "id": "WFSubtitle", "fill": "$text-secondary", "content": "Full Service • Post-Pay Model", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "WFBadges", "gap": 12, "children": [
              {"type": "frame", "id": "WFBadge1", "fill": "#F59E0B20", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "WFBadge1T", "fill": "#F59E0B", "content": "💳 Loyalty", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
              {"type": "frame", "id": "WFBadge2", "fill": "#EC489920", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "WFBadge2T", "fill": "#EC4899", "content": "🏷️ Discount", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
              {"type": "frame", "id": "WFBadge3", "fill": "#EF444420", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "WFBadge3T", "fill": "#EF4444", "content": "30-90 phút", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "WFContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 40,
          "layout": "vertical",
          "gap": 32,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "WFRow1", "gap": 24, "alignItems": "center", "children": [
              {"type": "frame", "id": "WFStep1", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep1Icon", "width": "fill_container", "height": 80, "fill": "#3B82F620", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep1IconInner", "width": 36, "height": 36, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#3B82F6"}]},
                {"type": "frame", "id": "WFStep1Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep1Num", "width": 28, "height": 28, "fill": "#3B82F6", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep1NumText", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep1Title", "fill": "$text-primary", "content": "Khách đến", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow1", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStep2", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#8B5CF6"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep2Icon", "width": "fill_container", "height": 80, "fill": "#8B5CF6", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep2IconInner", "width": 36, "height": 36, "iconFontName": "layout-grid", "iconFontFamily": "lucide", "fill": "$text-primary"}]},
                {"type": "frame", "id": "WFStep2Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep2Num", "width": 28, "height": 28, "fill": "#8B5CF6", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep2NumText", "fill": "$text-primary", "content": "2", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep2Title", "fill": "$text-primary", "content": "Chọn bàn", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "frame", "id": "WFStep2Screen", "fill": "$bg-interactive", "cornerRadius": 4, "padding": [3, 8], "children": [{"type": "text", "id": "WFStep2ScreenText", "fill": "$text-secondary", "content": "table-map.pen", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "500"}]}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow2", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStep3", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep3Icon", "width": "fill_container", "height": 80, "fill": "$orange-primary", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep3IconInner", "width": 36, "height": 36, "iconFontName": "clipboard-list", "iconFontFamily": "lucide", "fill": "$text-primary"}]},
                {"type": "frame", "id": "WFStep3Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep3Num", "width": 28, "height": 28, "fill": "$orange-primary", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep3NumText", "fill": "$text-primary", "content": "3", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep3Title", "fill": "$text-primary", "content": "Order món", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "frame", "id": "WFStep3Screen", "fill": "$bg-interactive", "cornerRadius": 4, "padding": [3, 8], "children": [{"type": "text", "id": "WFStep3ScreenText", "fill": "$text-secondary", "content": "desktop.pen", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "500"}]}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow3", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStep4", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#F59E0B"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep4Icon", "width": "fill_container", "height": 80, "fill": "#F59E0B", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep4IconInner", "width": 36, "height": 36, "iconFontName": "chef-hat", "iconFontFamily": "lucide", "fill": "$text-primary"}]},
                {"type": "frame", "id": "WFStep4Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep4Num", "width": 28, "height": 28, "fill": "#F59E0B", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep4NumText", "fill": "$text-primary", "content": "4", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep4Title", "fill": "$text-primary", "content": "Bếp nấu", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "frame", "id": "WFStep4Screen", "fill": "$bg-interactive", "cornerRadius": 4, "padding": [3, 8], "children": [{"type": "text", "id": "WFStep4ScreenText", "fill": "$text-secondary", "content": "kitchen-display.pen", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "500"}]}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "WFLoopBox", "fill": "#3B82F610", "cornerRadius": 20, "stroke": {"thickness": 2, "fill": "#3B82F6", "dashArray": [8, 4]}, "padding": [24, 40], "layout": "vertical", "gap": 16, "alignItems": "center", "children": [
              {"type": "text", "id": "WFLoopLabel", "fill": "#3B82F6", "content": "🔄 LẶP LẠI: Order thêm món", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
              {"type": "frame", "id": "WFLoopSteps", "gap": 24, "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep5", "width": 160, "fill": "$bg-elevated", "cornerRadius": 12, "padding": 16, "layout": "vertical", "gap": 8, "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep5Icon", "width": 28, "height": 28, "iconFontName": "utensils", "iconFontFamily": "lucide", "fill": "#22C55E"}, {"type": "text", "id": "WFStep5Title", "fill": "$text-primary", "content": "Phục vụ món", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
                {"type": "icon_font", "id": "WFArrow5", "width": 20, "height": 20, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
                {"type": "frame", "id": "WFStep6", "width": 160, "fill": "$bg-elevated", "cornerRadius": 12, "padding": 16, "layout": "vertical", "gap": 8, "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep6Icon", "width": 28, "height": 28, "iconFontName": "plus", "iconFontFamily": "lucide", "fill": "$orange-primary"}, {"type": "text", "id": "WFStep6Title", "fill": "$text-primary", "content": "Thêm món?", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
                {"type": "icon_font", "id": "WFArrow6", "width": 20, "height": 20, "iconFontName": "corner-up-left", "iconFontFamily": "lucide", "fill": "#3B82F6"}
              ]}
            ]},
            {"type": "frame", "id": "WFRow2", "gap": 24, "alignItems": "center", "children": [
              {"type": "frame", "id": "WFStep7", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep7Icon", "width": "fill_container", "height": 80, "fill": "#EC489920", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep7IconInner", "width": 36, "height": 36, "iconFontName": "receipt", "iconFontFamily": "lucide", "fill": "#EC4899"}]},
                {"type": "frame", "id": "WFStep7Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep7Num", "width": 28, "height": 28, "fill": "#EC4899", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep7NumText", "fill": "$text-primary", "content": "5", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep7Title", "fill": "$text-primary", "content": "Tính tiền", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow7", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStepCust", "width": 150, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#EC4899"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStepCustIcon", "width": "fill_container", "height": 65, "fill": "#EC4899", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStepCustIc", "width": 28, "height": 28, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "#FFF"}]},
                {"type": "frame", "id": "WFStepCustInfo", "width": "fill_container", "padding": 12, "layout": "vertical", "gap": 4, "alignItems": "center", "children": [
                  {"type": "text", "id": "WFStepCustTitle", "fill": "$text-primary", "content": "Tìm KH?", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"},
                  {"type": "text", "id": "WFStepCustDesc", "fill": "$text-tertiary", "content": "Optional", "fontFamily": "Roboto", "fontSize": 9}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow7b", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStep8", "width": 180, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#22C55E"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep8Icon", "width": "fill_container", "height": 80, "fill": "#22C55E", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep8IconInner", "width": 36, "height": 36, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-primary"}]},
                {"type": "frame", "id": "WFStep8Info", "width": "fill_container", "padding": 16, "layout": "vertical", "gap": 6, "alignItems": "center", "children": [
                  {"type": "frame", "id": "WFStep8Num", "width": 28, "height": 28, "fill": "#22C55E", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "WFStep8NumText", "fill": "$text-primary", "content": "6", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
                  {"type": "text", "id": "WFStep8Title", "fill": "$text-primary", "content": "THANH TOÁN", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"},
                  {"type": "frame", "id": "WFStep8Screen", "fill": "$bg-interactive", "cornerRadius": 4, "padding": [3, 8], "children": [{"type": "text", "id": "WFStep8ScreenText", "fill": "$text-secondary", "content": "payment/*.pen", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "500"}]}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow8", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStepLoyalty", "width": 160, "fill": "$bg-elevated", "cornerRadius": 16, "stroke": {"thickness": 2, "fill": "#14B8A6"}, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStepLoyaltyIcon", "width": "fill_container", "height": 70, "fill": "#14B8A6", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStepLoyaltyIc", "width": 32, "height": 32, "iconFontName": "coins", "iconFontFamily": "lucide", "fill": "#FFF"}]},
                {"type": "frame", "id": "WFStepLoyaltyInfo", "width": "fill_container", "padding": 14, "layout": "vertical", "gap": 4, "alignItems": "center", "children": [
                  {"type": "text", "id": "WFStepLoyaltyTitle", "fill": "$text-primary", "content": "+Tích điểm", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
                  {"type": "text", "id": "WFStepLoyaltyDesc", "fill": "$text-tertiary", "content": "1đ / 10K", "fontFamily": "Roboto", "fontSize": 10}
                ]}
              ]},
              {"type": "icon_font", "id": "WFArrow9", "width": 24, "height": 24, "iconFontName": "arrow-right", "iconFontFamily": "lucide", "fill": "$orange-primary"},
              {"type": "frame", "id": "WFStep9", "width": 160, "fill": "$bg-elevated", "cornerRadius": 16, "layout": "vertical", "alignItems": "center", "children": [
                {"type": "frame", "id": "WFStep9Icon", "width": "fill_container", "height": 70, "fill": "#6B728020", "cornerRadius": [16, 16, 0, 0], "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "WFStep9IconInner", "width": 32, "height": 32, "iconFontName": "log-out", "iconFontFamily": "lucide", "fill": "#6B7280"}]},
                {"type": "frame", "id": "WFStep9Info", "width": "fill_container", "padding": 14, "layout": "vertical", "gap": 4, "alignItems": "center", "children": [
                  {"type": "text", "id": "WFStep9Title", "fill": "$text-primary", "content": "Ra về", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}
                ]}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "WFFooter",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [20, 40],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "gap": 40,
          "justifyContent": "center",
          "children": [
            {"type": "frame", "id": "WFLegend1", "gap": 12, "alignItems": "center", "children": [{"type": "frame", "id": "WFLegend1Dot", "width": 20, "height": 20, "fill": "#22C55E", "cornerRadius": 6}, {"type": "text", "id": "WFLegend1Text", "fill": "$text-secondary", "content": "Thanh toán", "fontFamily": "Roboto", "fontSize": 12}]},
            {"type": "frame", "id": "WFLegend2", "gap": 12, "alignItems": "center", "children": [{"type": "frame", "id": "WFLegend2Dot", "width": 20, "height": 20, "fill": "#14B8A6", "cornerRadius": 6}, {"type": "text", "id": "WFLegend2Text", "fill": "$text-secondary", "content": "Loyalty Points", "fontFamily": "Roboto", "fontSize": 12}]},
            {"type": "frame", "id": "WFLegend3", "gap": 12, "alignItems": "center", "children": [{"type": "frame", "id": "WFLegend3Dot", "width": 20, "height": 20, "fill": "#F59E0B", "cornerRadius": 6}, {"type": "text", "id": "WFLegend3Text", "fill": "$text-secondary", "content": "Kitchen", "fontFamily": "Roboto", "fontSize": 12}]},
            {"type": "frame", "id": "WFLegend4", "gap": 12, "alignItems": "center", "children": [{"type": "frame", "id": "WFLegend4Dot", "width": 20, "height": 20, "fill": "#3B82F6", "cornerRadius": 100, "stroke": {"thickness": 2, "fill": "#3B82F6", "dashArray": [4, 2]}}, {"type": "text", "id": "WFLegend4Text", "fill": "$text-secondary", "content": "Loop", "fontFamily": "Roboto", "fontSize": 12}]}
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-elevated": {"type": "color", "value": "#1A1A1D"},
    "bg-interactive": {"type": "color", "value": "#2A2A2E"},
    "bg-page": {"type": "color", "value": "#0A0A0B"},
    "border-default": {"type": "color", "value": "#2A2A2E"},
    "border-subtle": {"type": "color", "value": "#1F1F23"},
    "orange-primary": {"type": "color", "value": "#FF5C00"},
    "text-primary": {"type": "color", "value": "#FFFFFF"},
    "text-secondary": {"type": "color", "value": "#ADADB0"},
    "text-tertiary": {"type": "color", "value": "#8B8B90"}
  }
}
