# Medical Coding Auditor — UI Analysis & Improvement Plan ## Why Our UI Looked the Same (Root Cause Analysis) ### Problem 1: Wrong CSS injection point | | Reference (sre-incident-env / Gradio 4.x) | Our implementation (Gradio 6.11) | |---|---|---| | CSS injection | `gr.Blocks(css=CUSTOM_CSS)` | `mount_gradio_app(..., css=CSS)` | In **Gradio 6.x** the `css=` parameter moved from `gr.Blocks()` to `mount_gradio_app()`. Passing `css=` to `gr.Blocks()` emits a deprecation warning and is silently ignored (the blocks's `.css` attribute stays `None`). Verified against Gradio 6.11.0. The correct Gradio 6.x pattern is: ```python # gradio_landing.py CSS = "..." # plain string, no