{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "StaffPerformanceReport",
      "name": "Report/StaffPerformance",
      "reusable": true,
      "width": 520,
      "height": 700,
      "fill": "$bg-page",
      "cornerRadius": 20,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "PerfHeader",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [16, 20],
          "gap": 12,
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "PerfIconBg", "width": 44, "height": 44, "fill": "#8B5CF615", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "PerfIcon", "width": 22, "height": 22, "iconFontName": "trending-up", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
            ]},
            {"type": "frame", "id": "PerfTitleBox", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
              {"type": "text", "id": "PerfTitle", "fill": "$text-primary", "content": "Hiệu Suất Nhân Viên", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"},
              {"type": "text", "id": "PerfPeriod", "fill": "$text-tertiary", "content": "Tháng 02/2026", "fontFamily": "Roboto", "fontSize": 13}
            ]},
            {"type": "frame", "id": "PerfFilter", "fill": "$bg-interactive", "cornerRadius": 10, "padding": [8, 12], "gap": 6, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "PerfFilterIcon", "width": 16, "height": 16, "iconFontName": "calendar", "iconFontFamily": "lucide", "fill": "$text-secondary"},
              {"type": "text", "id": "PerfFilterText", "fill": "$text-secondary", "content": "Tháng", "fontFamily": "Roboto", "fontSize": 13}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "TopPerformers",
          "width": "fill_container",
          "padding": [16, 20],
          "gap": 10,
          "layout": "vertical",
          "children": [
            {"type": "text", "id": "TopTitle", "fill": "$text-secondary", "content": "Top nhân viên xuất sắc", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"},
            {"type": "frame", "id": "TopList", "width": "fill_container", "gap": 10, "children": [
              {"type": "frame", "id": "Top1", "width": "fill_container", "fill": {"type": "gradient", "gradientType": "linear", "rotation": 180, "colors": [{"color": "#EAB30820", "position": 0}, {"color": "#EAB30805", "position": 1}]}, "cornerRadius": 14, "padding": 14, "layout": "vertical", "gap": 10, "alignItems": "center", "children": [
                {"type": "frame", "id": "Top1Crown", "width": 24, "height": 24, "fill": "#EAB308", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top1Rank", "fill": "#FFFFFF", "content": "1", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Top1Avatar", "width": 44, "height": 44, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#3B82F6", "position": 0}, {"color": "#8B5CF6", "position": 1}]}, "cornerRadius": 22, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top1Init", "fill": "#FFFFFF", "content": "NA", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "text", "id": "Top1Name", "fill": "$text-primary", "content": "Nguyễn An", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600", "textAlign": "center"},
                {"type": "text", "id": "Top1Sales", "fill": "#EAB308", "content": "5.2M", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]},
              {"type": "frame", "id": "Top2", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 14, "layout": "vertical", "gap": 10, "alignItems": "center", "children": [
                {"type": "frame", "id": "Top2Badge", "width": 24, "height": 24, "fill": "#A1A1AA", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top2Rank", "fill": "#FFFFFF", "content": "2", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Top2Avatar", "width": 44, "height": 44, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#F97316", "position": 0}, {"color": "#EAB308", "position": 1}]}, "cornerRadius": 22, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top2Init", "fill": "#FFFFFF", "content": "TH", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "text", "id": "Top2Name", "fill": "$text-primary", "content": "Thị Hương", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600", "textAlign": "center"},
                {"type": "text", "id": "Top2Sales", "fill": "#A1A1AA", "content": "4.8M", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]},
              {"type": "frame", "id": "Top3", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 14, "padding": 14, "layout": "vertical", "gap": 10, "alignItems": "center", "children": [
                {"type": "frame", "id": "Top3Badge", "width": 24, "height": 24, "fill": "#CD7F32", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top3Rank", "fill": "#FFFFFF", "content": "3", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "700"}
                ]},
                {"type": "frame", "id": "Top3Avatar", "width": 44, "height": 44, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#10B981", "position": 0}, {"color": "#22C55E", "position": 1}]}, "cornerRadius": 22, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "Top3Init", "fill": "#FFFFFF", "content": "MT", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}
                ]},
                {"type": "text", "id": "Top3Name", "fill": "$text-primary", "content": "Minh Tuấn", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600", "textAlign": "center"},
                {"type": "text", "id": "Top3Sales", "fill": "#CD7F32", "content": "4.1M", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "StaffMetrics",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "padding": [0, 20],
          "gap": 8,
          "children": [
            {"type": "text", "id": "MetricsTitle", "fill": "$text-secondary", "content": "Chi tiết hiệu suất", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600", "padding": [0, 0, 6, 0]},
            {"type": "frame", "id": "Staff1Row", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "text", "id": "Staff1Rank", "fill": "$text-tertiary", "content": "4", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600", "width": 20, "textAlign": "center"},
              {"type": "frame", "id": "Staff1Avatar", "width": 36, "height": 36, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#EC4899", "position": 0}, {"color": "#F472B6", "position": 1}]}, "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Staff1Init", "fill": "#FFFFFF", "content": "PL", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
              ]},
              {"type": "frame", "id": "Staff1Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Staff1Name", "fill": "$text-primary", "content": "Phương Linh", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Staff1Orders", "fill": "$text-tertiary", "content": "89 đơn hàng", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "text", "id": "Staff1Sales", "fill": "#22C55E", "content": "3.6M", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "Staff2Row", "width": "fill_container", "fill": "$bg-elevated", "cornerRadius": 12, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "text", "id": "Staff2Rank", "fill": "$text-tertiary", "content": "5", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600", "width": 20, "textAlign": "center"},
              {"type": "frame", "id": "Staff2Avatar", "width": 36, "height": 36, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#06B6D4", "position": 0}, {"color": "#22D3EE", "position": 1}]}, "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "Staff2Init", "fill": "#FFFFFF", "content": "HN", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}
              ]},
              {"type": "frame", "id": "Staff2Info", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "Staff2Name", "fill": "$text-primary", "content": "Hoàng Nam", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                {"type": "text", "id": "Staff2Orders", "fill": "$text-tertiary", "content": "76 đơn hàng", "fontFamily": "Roboto", "fontSize": 12}
              ]},
              {"type": "text", "id": "Staff2Sales", "fill": "#22C55E", "content": "2.9M", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "700"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "PerfFooter",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle"},
          "gap": 12,
          "padding": [16, 20],
          "children": [
            {"type": "frame", "id": "ExportBtn", "width": "fill_container", "height": 48, "fill": "$bg-interactive", "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ExportIcon", "width": 18, "height": 18, "iconFontName": "download", "iconFontFamily": "lucide", "fill": "$text-secondary"},
              {"type": "text", "id": "ExportText", "fill": "$text-secondary", "content": "Xuất báo cáo", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
            ]},
            {"type": "frame", "id": "CommissionBtn", "width": "fill_container", "height": 48, "fill": {"type": "gradient", "gradientType": "linear", "rotation": 135, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "CommissionIcon", "width": 18, "height": 18, "iconFontName": "coins", "iconFontFamily": "lucide", "fill": "#FFFFFF"},
              {"type": "text", "id": "CommissionText", "fill": "#FFFFFF", "content": "Tính hoa hồng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        }
      ]
    }
  ],
  "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"}
  }
}
