.organizationClub{width:100%;text-align:left;background:transparent;color:inherit;border:0;border-radius:0;font:inherit;cursor:pointer}.organizationClub:hover b{text-decoration:underline}.organizationTeamDialog{width:min(680px,94vw);max-height:88vh;overflow:auto;border:1px solid #ddd;border-radius:14px;padding:22px;color:#222;background:#fff}.organizationTeamDialog::backdrop{background:#0007}.organizationTeamDialog h3{margin:0}.organizationTeamDialog .sectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.organizationMember{display:flex;flex-direction:column;gap:5px;border-top:1px solid #ddd;padding:12px 0;overflow-wrap:anywhere}.organizationMember span{font-weight:600}.organizationMember small{line-height:1.5;color:#555}.organizationMember button{font-size:12px;padding:6px 9px}.organizationCandidates{max-height:230px;overflow:auto;margin:12px 0;border:1px solid #ddd;border-radius:8px}.organizationCandidates button{display:block;text-align:left;width:100%;border:0;border-radius:0;border-bottom:1px solid #eee;padding:12px;background:#fff}.organizationCandidates button[aria-pressed=true]{background:#fff0ed;box-shadow:inset 4px 0 #d52b1e}.organizationCandidates small,.organizationCandidates span{display:block;font-size:12px;line-height:1.5}.organizationTeamDialog form>button{margin-top:14px}.organizationTeamMessage{padding:12px 14px;margin:14px 0;border-radius:8px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.organizationTeamMessage.isSuccess{background:#e8f6ec;color:#175c2c;border:1px solid #8cc79b}.organizationTeamMessage.isError{background:#fff0ef;color:#91251d;border:1px solid #e4a29c}@media print{.organizationTeamDialog{display:none}}
/* Compact club controls scoped to the Groups screen. */
#groupsGrid .clubBlock:not(.organizationClub){
 display:grid;
 grid-template-columns:minmax(0,1fr) 3ch 36px max-content;
 align-items:center;
 column-gap:8px;
 min-height:42px;
 padding:7px 0;
 box-sizing:border-box;
}
#groupsGrid .clubBlock:not(.organizationClub)>b{
 min-width:0;
 overflow-wrap:anywhere;
 line-height:1.35;
}
#groupsGrid .clubBlock:not(.organizationClub)>span{
 text-align:right;
 font-variant-numeric:tabular-nums;
 color:#687584;
}
#groupsGrid .clubBlock>label{
 display:block;
 min-width:0;
 margin:0;
 padding:0;
 font-size:0;
 line-height:0;
}
#groupsGrid .clubBlock select[data-club-target]{
 display:block;
 width:36px;
 min-width:0;
 height:22px;
 min-height:0;
 margin:0;
 padding:1px 2px;
 border:1px solid #d5dee7;
 border-radius:4px;
 background:#fff;
 color:#455464;
 font-size:11px;
 line-height:1.2;
 box-sizing:border-box;
}
#groupsGrid .clubBlock button[data-move-club]{
 width:max-content;
 min-width:0;
 height:auto;
 min-height:0;
 margin:0;
 padding:2px 4px;
 border:1px solid #d5dee7;
 border-radius:4px;
 background:#f6f8fa;
 color:#455464;
 font-size:11px;
 font-weight:500;
 line-height:1.2;
 box-shadow:none;
 white-space:nowrap;
}
#groupsGrid .clubBlock button[data-move-club]:hover{
 background:#eaf0f5;
 border-color:#aebdcb;
}
#groupsGrid .clubBlock select:focus-visible,
#groupsGrid .clubBlock button:focus-visible{
 outline:2px solid #547ba2;
 outline-offset:2px;
}
#groupsGrid .organizationClub{
 display:flex;
 align-items:center;
 justify-content:space-between;
 width:100%;
 min-width:0;
 margin:0 0 4px;
 padding:8px 0;
 font:inherit;
}
@media print{
 #groupsGrid [data-club-target],#groupsGrid [data-move-club],
 #groupsGrid .clubBlock>label{display:none!important}
 #groupsGrid .clubBlock:not(.organizationClub){grid-template-columns:minmax(0,1fr) 3ch}
}
.externalHelperSection{margin-top:20px;padding-top:14px;border-top:1px solid #ddd}.externalHelperSection summary{cursor:pointer;font-weight:600;font-size:13px}.externalHelperSection form{display:grid;gap:10px;margin-top:12px}.externalHelperSection form button{justify-self:start;font-size:12px;padding:5px 8px}

.groupViewPicker{margin:0 0 12px}
.groupViewPicker select{width:auto;max-width:100%}
#groups[data-group-view="abc"] #gamesShifts,
#groups[data-group-view="games"] .gamesGroupStats > :not(.gamesHeightCard),
#groups[data-group-view="games"] :is([data-abc-actions],#groupsGrid,#groupsMsg),
#groups[data-group-view="games"]>.sectionHead p,
#gamesShifts[hidden]{display:none!important}
#gamesShifts [data-shift-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#gamesShifts .card{min-width:0}
#gamesShifts summary{cursor:pointer;padding:8px 0;font-size:14px;overflow-wrap:anywhere}
#gamesShifts summary span{float:right;font-variant-numeric:tabular-nums;color:#566471}
#gamesShifts details{border-bottom:1px solid #e1e6eb}
#gamesShifts details details{margin:4px 0 6px 8px}
#gamesShifts details p{margin:4px 0;font-size:12px}
.gamesShiftRow{padding:6px 0;border-top:1px solid #e6eaed;overflow-wrap:anywhere;font-size:13px}
.gamesShiftRow small{display:block;color:#566471}
.gamesShiftRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,9em);gap:3px 8px;align-items:center}
.gamesShiftRow>span{grid-column:1;font-size:12px}
.gamesShiftRow select{width:100%;min-width:0;min-height:0;height:auto;padding:3px 4px;font:inherit;grid-column:2;grid-row:1}
.gamesShiftRow select[data-games-duty]{grid-row:2}
#gamesShifts [role=status]:empty{display:none}
@media(max-width:760px){#gamesShifts [data-shift-list]{grid-template-columns:minmax(0,1fr)}}
#gamesShifts .gamesParticipants{margin-top:12px}
.gamesParticipantHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.gamesParticipantHead{flex-wrap:wrap}
.gamesParticipantHead h3{margin:0}
.gamesParticipantActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gamesParticipantHead select{width:auto;min-width:6em;margin:0}
.gamesParticipants [data-participants] td{background-color:#fff}
.gamesParticipants [data-participants] .clubShaded td{background-color:#e9ebed}
.gamesParticipants table{width:100%;table-layout:fixed;border-collapse:collapse}
.gamesParticipants th,.gamesParticipants td{text-align:left;padding:7px 8px;overflow-wrap:anywhere;white-space:normal}
.gamesParticipants th:last-child,.gamesParticipants td:last-child:not([colspan]){width:6em;text-align:center;white-space:nowrap}
@media(max-width:520px){.gamesParticipants th,.gamesParticipants td{padding:6px 4px;font-size:13px}.gamesParticipants th:last-child,.gamesParticipants td:last-child:not([colspan]){width:4em}}
/* Criterio de Óscar para WAO Spain: conservar la colocación, los tamaños y la alineación de la oficial al añadir funciones, salvo que pida un cambio visual. La vista principal hereda la cuadrícula oficial. */
#groups[data-group-view="games"] .gamesGroupStats{grid-template-columns:repeat(2,minmax(0,1fr))}