What's wrong today. The tab and the expanded window put the screen on different backgrounds. On the tab the screen sits on the card colour #141B2E. In the expanded window it sits on the backdrop #0B0F1A. The squad list is painted in the card colour too, so on the tab it disappears into the host and only its 1px edge shows, while expanded it stands out. The comparison side has no panel on either: its header, chips, sub-tabs and Grid / Spread / Shape row sit on whatever is behind them, and only the figures below sit on a panel.
The proposal: one rule for every screen.
PanelFrame #1A2236, the brush most screens already use. On the rail screens that means two panels side by side: the squad list (moved up from the card colour, so it shows on the tab) and the comparison, holding the header, chips, sub-tabs, view switch and figures.Use the switches to compare the tab and the expanded window, today and the proposal. "Expanded background" lets you keep today's darkest backdrop in the expanded window and see that the panels still work there, so rule 1 can be dropped if you'd rather keep it. Figures come from your screenshot.
A survey of every expandable screen's XAML. "Bare" means it sits straight on the host, with no panel under it. With the proposal, each bare item below moves onto a panel: either the panel already under the content beneath it, or a new one when there is none. Tabs that switch a whole screen (Summary's Team / Players / Moves / Youth and the like) are the exception, see the question at the end.
| Screen | Bare today | Already on panels |
|---|---|---|
| Player evolution | The header bar (name, title), the sub-tab row | The pick prompt, each tab's tiles |
| Player comparison | The header bar. Its body sits on a backdrop-coloured box, darker than the tab, and the control rows sit on that | The tables and radars |
| Squad comparison | The header bar, the sub-tabs, Grid / Spread / Shape and its checkbox, the empty state | The figures card |
| League comparison | The side and view switches, Season / League / Rank, the dial key row | The tables and dial cards |
| Summary | Team / Players / Moves / Youth tabs, the section labels ("Where we stand" and the rest) | Every season card, the setup cards |
| Squad depth | The Season row (picker, Plan, Update, Rebuild), Pitch / Depth / Verdict and the By position tabs, the "Most suited to" tray, the pitch markings, the squad list's heading | The formation tray, the By player / Key players / Coverage / Depth cards, the squad list rows |
| Season review | Summary / Progress tabs, the Seasons chips, the explainer and notes rows, the dial-picked line, the figure page's chips | The tables and charts |
| Signings | Overview / Season / Player tabs, the Season heading | Everything else |
| Youth intakes | The tabs | Improving and Intakes (done in an earlier change); All intakes to check |
| Club records | The tab strip, the leaderboard figure chips | Record cards, the table, the leaderboard columns |
| Scouting | The tabs, the League and choices row, the dial key and capture line | Leaders, the Player view |
| Capture previews | The tab buttons, date picker, Delete and Expand row, the category chips | The grids paint the card colour themselves, with no panel edge |