In 2025, while Lin Wan stayed up late to sort out evidence for a billion-dollar business case, she accidentally touched an antique jade pendant given by her boyfriend. She opened her eyes and traveled to the Shenghua Dynasty, becoming the palace maid Shen Ah Zhi who was thrown into the miscellaneous room for "colliding with nobles" when she first entered the palace. Faced with the maid in charge who beat and scolded her at every turn, the other palace maids who were eyeing her, and the completely unfamiliar feudal ethics, Lin Wan used her lawyer's "risk prediction" ability to stabilize her survival situation first.
By chance, she used modern "evidence chain" thinking to help the laundry department clear the grievance of "stealing palace items" and was noticed by Xiao Jin. Later, in the "rockery poisoning case" in the Imperial Garden, she used detailed reasoning to find the real culprit, broke the frame-up of Concubine Liu, and received the lowest-level "promise". But her rise to prominence made Concubine Liu more and more wary, and she made successive plans: falsely accusing her of having an affair with a guard, poisoning her anti-fetal medicine, trying to kill her with the help of the feudal lord, and even implicate Su Qingyao in jail.
Lin Wan worked step by step: while collecting evidence of corruption and collaboration with Concubine Liu and her family, and working with Xiao Jingyuan and Zhao Dehai to make a secret plan; while using modern "contract spirit" to help Xiao Jin sort out the treasury accounts and formulate an "official accountability system" to help him weaken the power of his relatives. During this period, she fell into emotional depression many times because she "missed her modern boyfriend Gu Yan", but she gradually became shaken when Xiao Jin "risked his life to protect her" time and time again (such as blocking poisonous arrows for her and contradicting the Queen Mother for her).
At the climax, Concubine Liu joined forces with the vassal king to launch a palace coup. Lin Wan stayed calm in the face of danger and used the strategy of "surrounding Wei to save Zhao" to delay the rebels. At the same time, he produced all the evidence to make the Liu family's crimes known to the public. Xiao Jin led the imperial army to put down the rebellion, and the two cooperated internally and externally.