# Speaking Lab Study Toolbar Polish Design ## Goal Refine the study page toolbar so the core English practice controls feel centered, focused, and visually consistent with the upgraded home page UI. ## Scope Included: - Remove `继续学习` from the study page toolbar. - Remove `稍后再看` from the study page toolbar. - Keep `收藏`. - Place `上一句 / 重播 / 下一句` in the visual center as the primary practice controls. - Place recording controls as secondary controls on the left. - Place a larger loop toggle and favorite action on the right. - Style the toolbar and buttons with a premium white-card look matching the home page. Excluded: - Removing existing localStorage `watchLater` data. - Removing helper functions unrelated to visible toolbar behavior. - Backend changes. - README changes. - Home page changes. ## Layout The toolbar uses three zones: - Left: `录音 / 停止 / 回放` - Center: `上一句 / 重播 / 下一句` - Right: large `循环` toggle and `收藏` On narrow screens, the zones may wrap but should remain readable and should not overflow horizontally. ## Behavior Existing behavior remains: - Previous sentence jumps back one cue. - Replay jumps to current sentence. - Next sentence jumps forward one cue. - Loop checkbox controls sentence loop. - Favorite toggles current material in favorites. - Recording controls keep existing browser recording behavior. Removed behavior: - The study page no longer exposes a `继续学习` button. - The study page no longer exposes a `稍后再看` button. ## Verification Run: ```powershell node --check app.js node --check home.js node --check admin.js python -m py_compile backend\main.py backend\db.py node tests\progress-helpers.test.mjs node tests\admin-file-input.test.mjs ``` Browser checks: 1. Open `http://127.0.0.1:8000/study.html`. 2. Confirm `上一句 / 重播 / 下一句` are centered. 3. Confirm `循环` is larger and easy to see. 4. Confirm `继续学习` and `稍后再看` do not appear. 5. Confirm `收藏` still works. 6. Confirm no horizontal overflow on a narrow viewport.