What problem does it solve? New UI components in the SKY-KING air-traffic control desk often break visually: they use hardcoded colors that become invisible in the dark 'ocean' theme, or they overflow the screen on 24-inch displays because the global CSS zoom multiplies vw/vh units and portal-mounted elements escape the zoom entirely. ## Core Features & Use Cases - Theme adaptation rules: Derives component palettes from themeMode ('light' | 'dark' | 'ocean'), keeping status colors (green/red/orange) fixed while ensuring ocean is treated as a dark theme with measured contrast of at least 3:1. - Screen-scale handling: Explains the #root { zoom: var(--s) } mechanism for 15.6/16/18/24-inch screens, including the portal-to-body trap (add zoom: var(--s) and divide drag coordinates by --s) and the vw/vh trap (divide viewport units by var(--s, 1)). - Dense toolbar scaling: Applies useToolbarScale() + tbPx(n, tb) multipliers to toolbar buttons only, for pen/touch use on Cintiq 24 displays. - Use Case: After building a new panel like SignalBoard, run the checklist to verify it renders correctly in all three themes, scales on a 24-inch monitor, and handles portals and viewport units properly. ## Quick Start Ask the assistant to run the ui-adapt checklist on your new component, for example: adapt SignalBoard to all themes and screen sizes.