{
  "identity": {
    "name": "KMC Performance Monitoring System",
    "tone": "Government-grade, Authoritative, Clean, Efficient, Trustworthy",
    "target_audience": "Government Officials, Supervisors, Admins, Management",
    "core_values": [
      "Data Integrity",
      "Operational Visibility",
      "Fiscal Accountability",
      "Streamlined Workflow"
    ]
  },
  "typography": {
    "primary_font": "Inter",
    "secondary_font": "Manrope",
    "weights": {
      "regular": 400,
      "medium": 500,
      "semibold": 600,
      "bold": 700
    },
    "usage": {
      "headings": "Manrope (Bold, Tight Tracking) - Use for Page Titles, KPI Values",
      "body": "Inter (Regular/Medium) - Use for Table Data, Forms, Labels",
      "mono": "JetBrains Mono - Use for Transaction IDs, SKU Codes"
    }
  },
  "colors": {
    "primary": {
      "navy": "#141240",
      "royal_blue": "#1D7AD9",
      "alert_red": "#D71920",
      "neutral": "#F3F3F3"
    },
    "semantic": {
      "success": "#10B981",
      "warning": "#F59E0B",
      "error": "#D71920",
      "info": "#1D7AD9",
      "background": "#F8FAFC",
      "surface": "#FFFFFF",
      "border": "#E2E8F0",
      "text_primary": "#0F172A",
      "text_secondary": "#64748B",
      "text_muted": "#94A3B8"
    },
    "charts": {
      "beef": "#141240",
      "shoats": "#1D7AD9",
      "offals": "#0EA5E9",
      "value_added": "#F59E0B",
      "loss": "#D71920"
    }
  },
  "layout_strategy": {
    "type": "Dashboard with Sidebar",
    "grid_system": "Bento Grid (Mode B - High Density)",
    "spacing": "Compact but breathable (p-4 for cards, p-6 for page containers)",
    "sidebar": {
      "width": "w-64",
      "bg": "bg-slate-900 (Navy #141240)",
      "text": "text-slate-300",
      "active": "bg-blue-600/20 text-blue-400 border-r-2 border-blue-500"
    },
    "header": {
      "height": "h-16",
      "bg": "bg-white",
      "border": "border-b border-slate-200",
      "shadow": "shadow-sm"
    }
  },
  "components": {
    "cards": {
      "style": "Flat, 1px Border (#E2E8F0), Minimal Shadow (shadow-sm)",
      "radius": "rounded-lg",
      "padding": "p-5"
    },
    "buttons": {
      "primary": "bg-[#141240] hover:bg-[#1e1b5e] text-white shadow-sm font-medium rounded-md",
      "secondary": "bg-white border border-slate-300 text-slate-700 hover:bg-slate-50 font-medium rounded-md",
      "destructive": "bg-red-600 hover:bg-red-700 text-white rounded-md",
      "ghost": "hover:bg-slate-100 text-slate-600 hover:text-slate-900 rounded-md"
    },
    "inputs": {
      "style": "bg-white border-slate-300 focus:ring-2 focus:ring-[#1D7AD9]/20 focus:border-[#1D7AD9] rounded-md h-10"
    },
    "tables": {
      "header": "bg-slate-50 text-xs uppercase tracking-wider text-slate-500 font-semibold h-10",
      "row": "border-b border-slate-100 hover:bg-slate-50/50 transition-colors h-12",
      "cell": "text-sm text-slate-700 px-4"
    },
    "badges": {
      "draft": "bg-slate-100 text-slate-700 border-slate-200",
      "submitted": "bg-blue-50 text-blue-700 border-blue-200",
      "posted": "bg-emerald-50 text-emerald-700 border-emerald-200",
      "rejected": "bg-red-50 text-red-700 border-red-200"
    }
  },
  "visual_enhancers": {
    "shadows": "Very subtle, purely for lifting interactive elements. Use 'shadow-sm' generally, 'shadow-md' for dropdowns/modals.",
    "borders": "Crisp 1px borders are preferred over shadows for defining structure.",
    "icons": "Lucide React (Stroke width 1.5px for UI, 2px for Actions)",
    "micro_interactions": "Hover states on rows, subtle scale on KPI cards (scale-[1.01])",
    "gradients": "None. Flat colors only for government trust."
  },
  "images": {
    "logo_url": "https://customer-assets.emergentagent.com/job_kmc-analytics-pro/artifacts/ryzc5b2s_image.png",
    "context": [
      {
        "url": "https://images.unsplash.com/photo-1605087844580-802e15eb8a4d",
        "description": "Cattle grazing - Use for Livestock Module Header"
      },
      {
        "url": "https://images.unsplash.com/photo-1735837893073-fef13dedc842",
        "description": "Sheep flock - Use for Shoats Category"
      }
    ]
  },
  "charts_library": "recharts",
  "instructions_to_main_agent": [
    "Use 'Layout' component to wrap all protected pages.",
    "Implement Role-Based Access Control (RBAC) on the Sidebar - hide links users can't access.",
    "Use 'react-hook-form' + 'zod' for all forms (Sales, Stock, Login).",
    "Ensure 'Sales Entry' workflow (Draft -> Submit -> Post) is clear visually.",
    "Dashboard KPIs must be at the top: Livestock Received, Slaughtered, Sales, Stock.",
    "Use Recharts for: Sales by Shop (Bar), Payment Methods (Pie/Donut), Stock Position (Bar).",
    "Strictly follow the color palette. No random colors.",
    "All tables must have pagination and search."
  ],
  "universal_guidelines": [
    "Dark colors look good when used independently without gradients. DO NOT use dark colors as gradients",
    "Don't make generic centered layouts, simplistic gradients, and uniform styling.",
    "Create depth through layered design elements with z-index hierarchy",
    "Use glass-morphism effects with backdrop filters (12-24px blur)",
    "You MUST NOT apply universal transition. Eg: transition: all. This results in breaking transforms. Always add transitions for specific interactive elements like button, input excluding transforms",
    "You MUST NOT center align the app container, ie do not add .App { text-align: center; } in the css file. This disrupts the human natural reading flow of text",
    "Always use modern button styles like pill-shaped, or sharp button with interaction animations & color relevant to the app style",
    "NEVER: use AI assistant Emoji characters like 🤖🧠💭💡🔮🎯📚🎭🎬🎪🎉🎊🎁🎀🎂🍰🎈🎨🎰💰💵💳🏦💎🪙💸🤑📊📈📉💹🔢🏆🥇 etc for icons.",
    "Every interaction needs micro-animations - hover states, transitions, parallax effects, and entrance animations. Static = dead.",
    "Use 2-3x more spacing than feels comfortable. Cramped designs look cheap.",
    "Subtle grain textures, noise overlays, custom cursors, selection states, and loading animations: separates good from extraordinary.",
    "Main agent relies on these image URLs. Missing categories (especially sponsor logos) = main agent will use placeholder text which is FORBIDDEN",
    "Prioritize using pre-existing components from src/components/ui when applicable",
    "Create new components that match the style and conventions of existing components when needed",
    "Examine existing components to understand the project's component patterns before creating new ones",
    "Components MUST use named exports (export const ComponentName = ...)",
    "Pages MUST use default exports (export default function PageName() {...})",
    "Use 'sonner' for toasts",
    "Sonner component are located in /app/src/components/ui/sonner.tsx"
  ]
}