graph LR
    subgraph Base44 Environment
        direction TB
        Client[Client] -- Modifies --> B44_UI[<b>Base44 Visual Builder</b><br><i>Features:</i><br>- Event Management<br>- Staff Directory<br>- Vendor Onboarding]
        B44_UI --> B44_Backend[<b>Base44 Backend</b><br>Provides Entity Schemas<br>& SDK Operations]
        B44_Backend --> B44_DB[Base44 Database]
    end

    subgraph Firebase Ecosystem - GCP
        direction TB
        KROW_FE[<b>KROW Frontend</b><br>Vite/React + TanStack Query<br><i>From Export</i>]
        
        subgraph Firebase Services
            direction TB
            Auth[Firebase Authentication]
            DataConnect[<b>Firebase Data Connect</b><br>GraphQL API &<br>Generated SDKs]
            SQL_DB[<b>Cloud SQL for PostgreSQL</b><br><i>Managed by Data Connect</i>]
        end

        KROW_FE -- "Uses" --> Auth
        KROW_FE -- "Calls Queries/Mutations via SDK" --> DataConnect
        DataConnect -- "Manages & Queries" --> SQL_DB
    end

    B44_UI -- "<b>UI Code Export</b><br>(React Components)" --> KROW_FE

    style Client fill:#f9f,stroke:#333,stroke-width:2px
    style B44_UI fill:#ffe,stroke:#333,stroke-width:2px
    style KROW_FE fill:#eef,stroke:#333,stroke-width:2px