/* hub-management-coherence-v1 · the management screens in the approved workspace frame. Every rule is scoped to
   .management-frame, so no other workspace (Fitness, Tennis, Oversight, player) is restyled by this file. */
.management-frame .fitness-workspace-content{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start}
/* The existing tools were written as stand-alone panels with their own outer margin; inside the frame's card that
   margin would double the spacing. */
.management-frame .fitness-workspace-content>details.panel,.management-frame .fitness-workspace-content>section{margin:0}
/* Selected-player controls: a quiet row under the tabs, absent until a player is open. */
.management-frame-toolbar:empty{display:none}
.management-frame #player-preview-toolbar{flex:none;justify-content:flex-start;flex-wrap:wrap;padding:10px 16px 0}
@media(max-width:700px){.management-frame #player-preview-toolbar{padding:8px 10px 0}}
/* Phone: three tabs sit a few pixels wider than a 390px screen at the shared spacing, which clipped the last label.
   The same tightening the shared stylesheet already applies to five- and six-tab rows keeps all three in view; on a
   narrower phone the row still scrolls, as every workspace's does. */
@media(max-width:700px){
 .fitness-workspace.management-frame:not(.tennis-player-workspace) .fitness-workspace-nav :is(a,button){gap:4px;padding-inline:3px}
 .fitness-workspace.management-frame:not(.tennis-player-workspace) .fitness-workspace-nav :is(a,button) strong{font-size:.76rem}
 .fitness-workspace.management-frame:not(.tennis-player-workspace) .fitness-workspace-nav :is(a,button) svg{width:14px;height:14px}
}
/* Desktop and tablet (batch 2 revision 2, Codex R2). The shared tab row lets a tab shrink below its own label, so
   with six tabs and the sidebar open (about 930px wide) "Account links" and "Coach requests" ran into their
   neighbours. In this frame a tab is never narrower than its label; when the row cannot hold them all it scrolls
   sideways (the row already scrolls, and the frame keeps the open tab in view). Wide screens are unchanged: the tabs
   still share the full width. The phone rules above are untouched. */
@media(min-width:701px){
 .fitness-studio .fitness-workspace.management-frame .fitness-workspace-nav>*{flex:1 0 auto;min-width:max-content}
}
/* Batch 3 · a Tennis tool inside the Tennis header. The tool brings its own page padding, which the workspace card
   already provides; nothing else about the tool is restyled. */
.tennis-tool-frame .fitness-workspace-content>.page{padding:0}
