
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In $\triangle ABC$, the sides opposite angles $A$, $B$, and $C$ are $a$, $b$, and $c$ respectively, and it satisfies $c\sin A=a\cos C$.

(Ⅰ) Find the size of angle $C$;

(Ⅱ) Find the maximum value of $\sqrt{3}\sin A-\cos \left(B+\frac{\pi}{4}\right)$, and the sizes of angles $A$ and $B$ when the maximum value is achieved.

Present the answer in LaTex format: \boxed{Your answer}
user