/* Scoped to the league manager; beach and referee screens are unchanged. */
.manager-selection { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:12px 0; }
.manager-selection button { width:auto; min-height:44px; }
.manager-selection [hidden], .manager-select-check[hidden] { display:none !important; }
.manager-select-check { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin:0 8px 0 0; }
.manager-select-check input { width:20px; height:20px; }
.manager-selection button:disabled { opacity:.45; cursor:default; }
.manager-additions-badge { display:inline-block; color:#fbbf24; background:rgba(251,191,36,.12); padding:4px 8px; border-radius:12px; font-weight:700; margin-top:5px; }
#workspace-classic, #workspace-matches, #classicCompetitionDivisionManagement,
#coreDivisionManagement, #coreEligibilityRules { min-width:0; max-width:100%; box-sizing:border-box; }
#coreDivisionManagement .core-division-form > * { min-width:0; }
#workspace-matches > div:first-child { flex-wrap:wrap; gap:12px; }
#workspace-matches > div:first-child > div { flex-wrap:wrap; }
@media (max-width:900px) {
    #mainContent .header > div { min-width:0; max-width:100%; flex-wrap:wrap; }
    #workspace-classic .card, #workspace-matches .card { min-width:0; max-width:100%; padding:16px; box-sizing:border-box; }
    #coreDivisionManagement { padding:12px !important; overflow-wrap:anywhere; }
    #coreDivisionManagement div { min-width:0; box-sizing:border-box; }
    #coreDivisionManagement .core-division-form,
    #workspace-classic .card > div[style*="grid-template-columns"] { grid-template-columns:minmax(0,1fr) !important; }
    #coreDivisionManagement input, #coreDivisionManagement select,
    #coreDivisionManagement button { min-width:0; max-width:100%; box-sizing:border-box; }
    #coreDivisionManagement button { white-space:normal !important; overflow-wrap:anywhere; }
    #workspace-classic .table-responsive, #workspace-matches .table-responsive { max-width:100%; min-width:0; }
    #workspace-classic h2 { overflow-wrap:anywhere; }
}
