/* The team builder for class games (teams-ui.js): Individuals or Teams,
   the teams, and Not here. */
.su-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 12px; }
.su-bar label, .su-lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.su-bar .k-select { min-width: 200px; min-height: 44px; }
.su-seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.su-seg button { min-height: 44px; padding: 0 14px; border: 0; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.su-seg button + button { border-left: 1px solid var(--border-strong); }
.su-seg button[aria-pressed=true] { background: var(--ink); color: var(--on-accent); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:disabled { color: var(--text-disabled); cursor: default; }
.stepper output { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.su-help { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.su-teams { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.su-team { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px; background: var(--surface-alt); display: flex; flex-direction: column; gap: 6px; }
.su-team.wide { grid-column: 1 / -1; }
.su-team.away { border-style: dashed; background: var(--surface); }
.su-team-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-weight: 700; font-size: 15px; }
.su-team-head small { font-weight: 400; color: var(--text-muted); font-size: 13px; }
.su-move { min-height: 36px; padding: 4px 10px; font-size: 13px; }
.su-pupils { display: flex; flex-wrap: wrap; gap: 6px; }
.su-pupil { min-height: 36px; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.su-pupil[aria-pressed=true] { background: var(--info); border-color: var(--info); color: var(--on-accent); }
.su-empty { font-size: 13px; color: var(--text-muted); }
.su-modal { max-width: 920px; }
[hidden] { display: none !important; }
