/* URW V5.4 - Planning CSS isolé
 * Le socle visuel reste dans style.css.
 * Les futurs ajustements propres à planning.html doivent être ajoutés ici.
 */

/* URW V6.5.1 - New Planning Match Model */
.planningFormV651{
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.planningFormV651 select,
.planningFormV651 input{
  min-height:38px;
}
.planningFormV651 #planOpponent{
  min-width:180px;
}
.planningFormV651 #planManualAddress{
  min-width:220px;
  flex:1 1 220px;
}
.planningRowV651 input,
.planningRowV651 select{
  width:100%;
  box-sizing:border-box;
}
.planningMatchCellV651{
  line-height:1.25;
}
.planningMatchCellV651 span{
  opacity:.58;
  font-weight:700;
  padding:0 4px;
}
.planningMatchCellV651 small{
  display:block;
  margin-top:3px;
  opacity:.68;
  font-size:12px;
}
.planBadgeMiniV651{
  margin-left:4px;
}
@media (max-width:760px){
  .planningFormV651 > *{
    flex:1 1 100%;
  }
  .planningFormV651 .fieldIcon{
    flex:0 0 auto;
  }
  .planningRowV651 td{
    vertical-align:top;
  }
}

/* URW V6.5.1.1 - Hotfix lisibilité coach + champ adresse */
.planningFormV651 #planManualAddress::placeholder{color:rgba(15,23,42,.54);}
.planLocationPillV651{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 10px;border-radius:999px;
  background:rgba(11,61,110,.08);font-weight:700;font-size:.88rem;color:#0b3d6e;
}
.planDateReadV651,.planTimeReadV651,.planAddressReadV651{font-weight:600;color:#132033;}
/* V6.9.7.0 cleanup: ancienne règle V6.5.1.1 désactivée.
   Elle masquait la première cellule des lignes Planning modernes en mode coach/read
   (métas catégorie/heure + dates), ce qui rendait les lignes vides. */
body.planningReadModeV6511 table thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:rgba(15,23,42,.62);background:rgba(11,61,110,.045);}
body.planningReadModeV6511 .planningRowV651 td{padding:10px 8px;vertical-align:middle;}
body.planningReadModeV6511 .planningRowV651 .convoquerBtn{min-width:42px;min-height:36px;border-radius:12px;}
body.planningReadModeV6511 .planningMatchCellV651 strong{font-size:.98rem;}
body.planningReadModeV6511 .planningMatchCellV651 span{opacity:.5;}
@media (max-width:760px){
  body.planningReadModeV6511 table{display:block;}
  body.planningReadModeV6511 thead{display:none;}
  body.planningReadModeV6511 tbody{display:grid;gap:10px;}
  body.planningReadModeV6511 .planningRowV651{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:12px;border:1px solid rgba(11,61,110,.10);border-radius:16px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.06);}
  body.planningReadModeV6511 .planningRowV651 td{display:block!important;padding:0;border:0;}
  body.planningReadModeV6511 .planningRowV651 td:nth-child(2),
  body.planningReadModeV6511 .planningRowV651 td:nth-child(3),
  body.planningReadModeV6511 .planningRowV651 td:nth-child(4){font-size:.88rem;}
  body.planningReadModeV6511 .planningRowV651 td:nth-child(6){grid-column:1 / -1;}
  body.planningReadModeV6511 .planningRowV651 td:nth-child(7){grid-column:1 / -1;font-size:.88rem;color:rgba(15,23,42,.72);}
  body.planningReadModeV6511 .planningRowV651 td:nth-child(8){grid-column:2;grid-row:1 / span 2;align-self:start;}
}

/* URW V6.5.2 - Planning Sport UI Alignment
 * Page fonctionnelle sport : compacte, lisible, alignée Classement / Derniers scores.
 */
.urw-page-planning{
  --planning-primary:var(--club-primary,#0b3d6e);
  --planning-secondary:var(--club-secondary,#5bb7d7);
  --planning-ink:var(--text-main,#102338);
  --planning-muted:var(--text-soft,#64748b);
  --planning-line:var(--border-soft,rgba(16,35,56,.11));
  --planning-card:var(--bg-card,rgba(255,255,255,.97));
  --planning-soft:var(--bg-card-soft,rgba(11,61,110,.055));
}

.urw-page-planning #siteHeader{
  border-bottom:1px solid rgba(16,35,56,.08);
}

.urw-page-planning #addMatchSection .card,
.urw-page-planning .planningSportPanelV652{
  border:1px solid var(--planning-line);
  background:linear-gradient(180deg,rgba(255,255,255,.985),rgba(248,251,254,.965));
  box-shadow:0 14px 34px rgba(16,35,56,.07);
}

.urw-page-planning #addMatchSection .card h2,
.urw-page-planning .planningSportPanelV652 h2{
  margin:0;
  color:var(--planning-ink);
  font-size:1.08rem;
  font-weight:950;
  letter-spacing:-.025em;
}

.planningPanelHeaderV652{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(16,35,56,.08);
}

.planningKickerV652{
  margin:0 0 4px;
  color:var(--planning-primary);
  font-size:var(--planning-logo-font-size);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.13em;
}

.planningFbVisualBtnV652,
.urw-page-planning .urwFbPlaceholderV650.planningFbVisualBtnV652{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:0;
  border-radius:999px;
  padding:10px 14px;
  background:linear-gradient(135deg,var(--planning-primary),var(--kf-primary));
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 24px rgba(11,61,110,.17);
  cursor:pointer;
  white-space:nowrap;
}
.planningFbVisualBtnV652 span{
  opacity:.72;
  font-size:.72rem;
  font-weight:750;
}
.planningFbVisualBtnV652:hover{filter:brightness(1.03);}

.planningFormV651{
  display:grid!important;
  grid-template-columns:minmax(110px,.9fr) 24px minmax(132px,.8fr) 24px minmax(104px,.65fr) minmax(126px,.8fr) minmax(170px,1.1fr) minmax(180px,1.2fr) auto auto auto;
  align-items:center;
  gap:8px!important;
}
.planningFormV651 select,
.planningFormV651 input{
  min-height:38px;
  border-radius:12px;
  border:1px solid rgba(16,35,56,.13);
  background:#fff;
  color:var(--planning-ink);
  font-weight:650;
}
.planningFormV651 .fieldIcon{
  justify-self:center;
  opacity:.72;
}
.planningFormV651 #planningBadgeControls{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.planningFormV651 #planningBadgeControls label{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 9px;
  border:1px solid rgba(16,35,56,.10);
  border-radius:999px;
  background:rgba(11,61,110,.045);
  font-size:.82rem;
  font-weight:800;
  white-space:nowrap;
}
.planningFormV651 #addPlanBtn,
.planningFormV651 #clearPlanningBtn{
  min-height:38px;
  border-radius:999px;
  font-weight:900;
  white-space:nowrap;
}

.planningTopActions{
  display:flex;
  justify-content:flex-end;
  margin:8px 0 10px;
}
.planningTopActions .buttonLike{
  border-radius:999px;
  padding:9px 13px;
  font-weight:850;
}

.planningSportTableV652{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0 7px!important;
}
.planningSportTableV652 thead th{
  padding:0 8px 5px;
  background:transparent!important;
  border:0!important;
  color:var(--planning-muted);
  font-size:.68rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.075em;
}
.planningDateGroupRowV652 td{
  padding:13px 0 3px!important;
  border:0!important;
  background:transparent!important;
}
.planningDateGroupRowV652 span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--planning-ink);
  font-size:var(--planning-time-font-size);
  font-weight:var(--planning-time-font-weight);
  letter-spacing:.01em;
}
.planningDateGroupRowV652 span::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:99px;
  background:var(--planning-secondary);
  box-shadow:0 0 0 4px rgba(85,183,217,.15);
}
.planningRowV651{
  position:relative;
  transition:transform .12s ease, box-shadow .12s ease;
}
.planningRowV651:hover{
  transform:translateY(-1px);
}
.planningSportTableV652 .planningRowV651 td{
  padding:8px 8px!important;
  vertical-align:middle;
  border-top:1px solid var(--planning-line)!important;
  border-bottom:1px solid var(--planning-line)!important;
  background:var(--planning-card)!important;
  box-shadow:0 8px 22px rgba(16,35,56,.045);
}
.planningSportTableV652 .planningRowV651 td:first-child{
  border-left:1px solid var(--planning-line)!important;
  border-radius:16px 0 0 16px;
}
.planningSportTableV652 .planningRowV651 td:last-child{
  border-right:1px solid var(--planning-line)!important;
  border-radius:0 16px 16px 0;
}
.planningSportTableV652 input,
.planningSportTableV652 select{
  width:100%;
  min-height:34px;
  box-sizing:border-box;
  border:1px solid rgba(16,35,56,.10);
  border-radius:11px;
  background:#fff;
  color:var(--planning-ink);
  font-weight:750;
}
.planOrderCellWrapV652 input{
  text-align:center;
}
.planTimeCellV652 input,
.planTimeReadV651{
  color:var(--planning-ink)!important;
  font-weight:950!important;
}
.planTimeReadV651{
  font-size:.96rem;
  letter-spacing:-.02em;
}
.planCategoryCellV652 strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  max-width:72px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(11,61,110,.075);
  color:var(--planning-primary);
  font-size:.78rem;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.planBadgeMiniV651{
  display:inline-flex;
  margin-left:5px;
  font-size:.95rem;
  transform:translateY(1px);
}
.planningMatchCellV651{
  color:var(--planning-ink);
  font-weight:850;
  line-height:1.15;
}
.planningMatchCellV651 strong{
  font-size:.97rem;
  font-weight:950;
}
.planningMatchCellV651 span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 5px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(16,35,56,.055);
  color:var(--planning-muted);
  font-size:.66rem;
  font-weight:950;
  letter-spacing:.07em;
  opacity:1!important;
}
.planningMatchCellV651 small{
  color:var(--planning-muted);
  font-weight:700;
}
.planLocationPillV651{
  background:rgba(11,61,110,.075)!important;
  color:var(--planning-primary)!important;
  font-size:.78rem!important;
  font-weight:900!important;
  white-space:nowrap;
}
.planAddressReadV651{
  max-width:220px;
  color:var(--planning-muted)!important;
  font-size:.84rem;
  font-weight:750!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.planningActionCellV652{
  white-space:nowrap;
}
.planningActionCellV652 .convoquerBtn,
.planningActionCellV652 .deleteBtn{
  min-height:34px;
  border-radius:999px!important;
  font-weight:900;
}
.planningActionCellV652 .convoquerBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:7px 10px;
}
.planningActionCellV652 .deleteBtn{
  margin-left:5px;
  padding:7px 9px;
  background:rgba(239,68,68,.08);
  color:#9f1239;
}
.planningEmptyRowV652 td{
  padding:18px!important;
  border:1px dashed rgba(16,35,56,.15)!important;
  border-radius:16px;
  background:rgba(255,255,255,.68)!important;
  color:var(--planning-muted);
  text-align:center;
  font-weight:800;
}
.planningActionsV652{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
}
.planningActionsV652 button{
  border-radius:999px;
  font-weight:900;
}

/* V6.9.7.0 cleanup: anciennes règles V6.5.2 désactivées.
   Elles masquaient les cellules 1 et 2 de .planningSportTableV652 en mode coach/read.
   Sur le modèle V6.9 actuel, cela supprimait la méta ET le match, ne laissant que les actions à gauche. */
body.planningReadModeV6511 .planningSportTableV652 .planningDateGroupRowV652 td{
  display:table-cell!important;
}

@media (max-width:1100px){
  .planningFormV651{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .planningFormV651 .fieldIcon{display:none;}
  .planningFormV651 #planningBadgeControls,
  .planningFormV651 #addPlanBtn,
  .planningFormV651 #clearPlanningBtn{
    grid-column:auto;
  }
}

@media (max-width:760px){
  .urw-page-planning #siteHeader{
    flex-wrap:wrap;
  }
  .urw-page-planning #siteHeader h1{
    width:auto;
  }
  .planningFbVisualBtnV652{
    width:100%;
    white-space:normal;
  }
  .planningFormV651{
    grid-template-columns:1fr!important;
  }
  .planningFormV651 > *{
    flex:initial!important;
  }
  .planningPanelHeaderV652{
    align-items:flex-start;
    flex-direction:column;
  }
  .planningSportTableV652,
  .planningSportTableV652 tbody{
    display:block!important;
  }
  .planningSportTableV652 thead{
    display:none!important;
  }
  .planningDateGroupRowV652,
  .planningDateGroupRowV652 td{
    display:block!important;
    width:100%;
  }
  .planningDateGroupRowV652 td{
    padding:14px 0 6px!important;
  }
  .planningSportTableV652 .planningRowV651{
    display:grid!important;
    grid-template-columns:auto 1fr auto;
    gap:7px 9px;
    margin:0 0 8px;
    padding:10px 11px;
    border:1px solid var(--planning-line);
    border-radius:17px;
    background:var(--planning-card);
    box-shadow:0 8px 22px rgba(16,35,56,.052);
  }
  .planningSportTableV652 .planningRowV651 td{
    display:block!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .planningSportTableV652 .planningRowV651 td.planOrderCellWrapV652,
  .planningSportTableV652 .planningRowV651 td.planOrderReadV651{
    display:none!important;
  }
  .planningSportTableV652 .planningRowV651 td.planDateCellV652,
  .planningSportTableV652 .planningRowV651 td.planDateReadV651{
    grid-column:1 / -1;
  }
  body.planningReadModeV6511 .planningSportTableV652 .planningRowV651 td.planDateReadV651{
    display:none!important;
  }
  .planningSportTableV652 .planningRowV651 .planCategoryCellV652{
    grid-column:1;
    grid-row:1;
  }
  .planningSportTableV652 .planningRowV651 .planTimeCellV652,
  .planningSportTableV652 .planningRowV651 .planTimeReadV651{
    grid-column:2;
    grid-row:1;
    align-self:center;
  }
  .planningSportTableV652 .planningRowV651 .planLocationCellWrapV652,
  .planningSportTableV652 .planningRowV651 .planLocationReadWrapV652{
    grid-column:3;
    grid-row:1;
  }
  .planningSportTableV652 .planningRowV651 .planningMatchCellV651{
    grid-column:1 / -1;
    grid-row:2;
    min-width:0;
  }
  .planningSportTableV652 .planningRowV651 .planAddressCellWrapV652,
  .planningSportTableV652 .planningRowV651 .planAddressReadV651{
    grid-column:1 / 3;
    grid-row:3;
    max-width:none;
  }
  .planningSportTableV652 .planningRowV651 .planningActionCellV652{
    grid-column:3;
    grid-row:2 / span 2;
    align-self:end;
    justify-self:end;
  }
  .planningActionCellV652 .convoquerBtn span{
    display:none;
  }
  .planningActionCellV652 .deleteBtn{
    margin-left:3px;
  }
  .planningMatchCellV651 strong{
    font-size:.98rem;
  }
  .planAddressReadV651{
    white-space:normal;
    font-size:.8rem;
  }
}

/* =====================================================
   URW V6.5.3 - Planning Premium Match Rows
   ===================================================== */
body.planningPremiumV653{
  margin:0;
  min-height:100vh;
  background:#071f4f!important;
  color:#071f4f;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.planningPremiumV653::before{display:none!important;}
.planningPremiumBackdropV653{
  min-height:100vh;
  background:
    radial-gradient(circle at 15% -10%, rgba(49,103,211,.38), transparent 34%),
    linear-gradient(180deg,var(--kf-primary) 0,#061a44 92px,#f7faff 92px,#f7faff 100%);
}
.planningHiddenLegacyV653,
body.planningPremiumV653 .urwSeasonBadge370,
body.planningPremiumV653 .urwClosedBanner370{
  display:none!important;
}
body.planningPremiumV653 [data-urw-icon] svg,
body.planningPremiumV653 svg{
  width:1em;
  height:1em;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.planningTopbarV653{
  height:92px;
  max-width:none;
  margin:0 auto;
  padding:0 48px;
  display:grid!important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#fff;
}
.planningTopbarGroupV653,
.planningTopbarUserV653{
  display:flex;
  align-items:center;
  gap:12px;
}
.planningTopbarCenterV653{justify-self:center;}
.planningTopbarUserV653{justify-self:end;}
.planningTopbarGroupV653 label{
  color:rgba(255,255,255,.94);
  font-size:16px;
  font-weight:800;
  letter-spacing:.01em;
}
.planningTopIconV653{font-size:28px;color:#fff;display:inline-flex;}
.planningTopbarV653 select{
  min-height:46px;
  appearance:none;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:0 42px 0 18px;
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:16px;
  font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 14px 30px rgba(0,0,0,.14);
  background-image:linear-gradient(45deg,transparent 50%,#fff 50%),linear-gradient(135deg,#fff 50%,transparent 50%);
  background-position:calc(100% - 20px) 19px,calc(100% - 14px) 19px;
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
}
.planningTopbarV653 option{color:#071f4f;background:#fff;}
.planningIconButtonV653,
.planningChevronButtonV653{
  position:relative;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:27px;
  cursor:pointer;
}
.planningChevronButtonV653{font-size:24px;width:34px;}
.planningNotifDotV653{
  position:absolute;
  right:7px;
  top:7px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff5a4f;
  box-shadow:0 0 0 3px #071f4f;
}
.planningHeaderLogoV653{
  width:48px;
  height:48px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.94);
  color:#071f4f;
  font-weight:950;
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}
.planningHeaderLogoV653 img{width:100%;height:100%;object-fit:contain;padding:4px;box-sizing:border-box;}
.planningShellV653{
  max-width:none;
  margin:0;
  padding:0;
}
.planningMainCardV653{
  margin:0;
  min-height:calc(100vh - 92px);
  padding:38px 48px 48px;
  border-radius:34px 34px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.985),rgba(247,250,255,.99));
  box-shadow:0 -18px 45px rgba(1,12,35,.28);
  border:1px solid rgba(255,255,255,.72);
}
.planningCardHeaderV653{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 32px;
}
.planningTitleBlockV653{
  display:flex;
  align-items:center;
  gap:22px;
}
.planningTitleIconV653{
  width:70px;
  height:70px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#063b9b;
  background:linear-gradient(180deg,#eef5ff,#e8f1ff);
  border:1px solid rgba(6,59,155,.12);
  box-shadow:0 14px 30px rgba(6,59,155,.08), inset 0 1px 0 rgba(255,255,255,.9);
  font-size:42px;
}
.planningTitleBlockV653 h1{
  margin:0;
  color:#071f4f;
  font-size:40px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.045em;
}
.planningTitleBlockV653 p{
  margin:10px 0 0;
  color:#315aa8;
  font-size:17px;
  font-weight:600;
}
.planningHeaderActionsV653{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.planningSecondaryActionV653,
.planningPrimaryActionV653{
  min-height:54px;
  border-radius:8px;
  padding:0 23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.planningSecondaryActionV653{
  color:#071f4f!important;
  background:#fff!important;
  border:1px solid rgba(50,91,170,.24)!important;
  box-shadow:0 10px 24px rgba(6,31,79,.05)!important;
}
.planningSecondaryActionV653 svg{font-size:24px;color:#1f55b5;fill:#1f55b5;stroke-width:0;}
.planningPrimaryActionV653{
  color:#fff;
  background:linear-gradient(180deg,var(--kf-primary),#061f55);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 26px rgba(4,28,75,.22);
}
.planningPrimaryActionV653 svg{font-size:25px;}
.planningAddPanelV653{
  display:none;
  margin:0 0 24px;
  padding:18px;
  border:1px solid rgba(7,31,79,.12);
  border-radius:20px;
  background:#f8fbff;
  box-shadow:0 14px 32px rgba(7,31,79,.08);
}
.planningAddPanelV653.is-open{display:block;}
.planningAddPanelHeaderV653{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  color:#071f4f;
}
.planningAddPanelHeaderV653 strong{font-size:17px;font-weight:950;}
.planningAddPanelHeaderV653 button{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(7,31,79,.12);
  background:#fff;
  color:#071f4f;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.planningFormV653{
  display:grid!important;
  grid-template-columns:minmax(110px,.65fr) minmax(142px,.75fr) minmax(112px,.55fr) minmax(142px,.7fr) minmax(180px,1fr) minmax(210px,1.15fr) minmax(190px,1fr) auto auto!important;
  gap:10px!important;
  align-items:center;
}
.planningFormV653 .fieldIcon{display:none!important;}
.planningFormV653 select,
.planningFormV653 input{
  width:100%;
  min-height:44px;
  border-radius:12px;
  border:1px solid rgba(7,31,79,.14);
  background:#fff;
  color:#071f4f;
  font-weight:750;
}
.planningFormV653 #planningBadgeControls{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.planningFormV653 #planningBadgeControls label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(7,31,79,.12);
  background:#fff;
  color:#071f4f;
  font-size:13px;
  font-weight:850;
}
.planningFormV653 #addPlanBtn,
.planningFormV653 #clearPlanningBtn{
  min-height:44px;
  border-radius:12px;
  font-weight:950;
  white-space:nowrap;
}
.planningSportTableV653{
  width:100%;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed;
  margin:0;
}
.planningSportTableV653 tbody{width:100%;}
.planningDateGroupRowV653 td{
  padding:0 0 14px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#071f4f;
  font-size:20px;
  font-weight:950;
  letter-spacing:-.01em;
  text-transform:uppercase;
}
.planningDateGroupRowV653:not(:first-child) td{padding-top:25px!important;}
.planningDateIconV653{
  display:inline-flex;
  vertical-align:-3px;
  margin-right:12px;
  color:#071f4f;
  font-size:24px;
}
.planningSportTableV653 .planningRowV653 td{
  height:72px;
  padding:0 14px!important;
  vertical-align:middle;
  background:rgba(255,255,255,.96)!important;
  border-top:1px solid rgba(7,31,79,.11)!important;
  border-bottom:1px solid rgba(7,31,79,.11)!important;
  box-shadow:0 10px 24px rgba(7,31,79,.035)!important;
}
.planningSportTableV653 .planningRowV653 td:first-child{
  width:118px;
  border-left:1px solid rgba(7,31,79,.11)!important;
  border-radius:14px 0 0 14px!important;
}
.planningSportTableV653 .planningRowV653 td:nth-child(2){width:92px;text-align:center;}
.planningSportTableV653 .planningRowV653 td:nth-child(3){width:110px;text-align:center;}
.planningSportTableV653 .planningRowV653 td:nth-child(5){width:70px;text-align:center;}
.planningSportTableV653 .planningRowV653 td:last-child{
  width:220px;
  border-right:1px solid rgba(7,31,79,.11)!important;
  border-radius:0 14px 14px 0!important;
}
.planningRowV653 + .planningRowV653 td{border-top-color:rgba(7,31,79,.08)!important;}
.planningCategoryBadgeV653{
  min-width:68px;
  max-width:110px;
  height:36px;
  padding:0 12px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#0a45d3,#0738b7);
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:950;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 16px rgba(7,56,183,.18);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.planningMatchTypeIconV653{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#071f4f;
  font-size:32px;
}
.planningMatchTypeEmptyV653{opacity:0;}
.planningTimeCellV653 span{
  min-width:74px;
  height:34px;
  padding:0 12px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eef4ff;
  color:#0645c2;
  font-size:16px;
  font-weight:950;
  letter-spacing:-.01em;
}
.planningTeamV653{
  min-width:0;
  display:flex;
  align-items:center;
  gap:13px;
}
.planningTeamRightV653{justify-content:flex-end;}
.planningClubLogoV653{
  flex:0 0 auto;
  width:50px;
  height:50px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(7,31,79,.12);
  overflow:hidden;
  box-shadow:0 7px 14px rgba(7,31,79,.07);
  color:#071f4f;
  font-size:13px;
  font-weight:950;
}
.planningClubLogoV653 img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:4px;
  box-sizing:border-box;
}
.planningClubLogoFallbackV653{
  background:linear-gradient(180deg,#f7faff,#e9f1ff);
}
.planningTeamNameV653{
  min-width:0;
  color:#071f4f;
  font-size:17px;
  font-weight:950;
  letter-spacing:-.02em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.planningVsCellV653 span{
  width:43px;
  height:32px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f2f5fb;
  color:#071f4f;
  font-size:12px;
  font-weight:950;
  text-transform:lowercase;
}
.planningActionCellV653{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  white-space:nowrap;
}
.planningConvoquerBtnV653{
  min-height:40px;
  padding:0 17px;
  border:0;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(180deg,var(--kf-primary),#061f55);
  color:#fff;
  font-size:15px;
  font-weight:900;
  box-shadow:0 12px 20px rgba(4,28,75,.17);
  cursor:pointer;
}
.planningConvoquerBtnV653 svg{font-size:19px;}
.planningMoreBtnV653{
  width:38px;
  height:40px;
  border:0;
  background:transparent;
  color:#071f4f;
  font-size:25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.planningDeleteBtnV653{
  display:none;
  position:absolute;
  right:0;
  top:46px;
  z-index:5;
  min-height:36px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(190,18,60,.12);
  background:#fff1f2;
  color:#9f1239;
  font-weight:900;
  box-shadow:0 12px 24px rgba(7,31,79,.12);
}
.planningDeleteBtnV653.is-visible{display:inline-flex;align-items:center;}
.planningEmptyRowV653 td{
  padding:28px!important;
  border:1px dashed rgba(7,31,79,.18)!important;
  border-radius:18px;
  background:#fff!important;
  color:#55709d;
  text-align:center;
  font-weight:850;
}
.planningFriendlyRequestsV653{
  margin-top:28px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:22px;
  border:1px solid rgba(7,31,79,.10);
  border-radius:16px;
  background:linear-gradient(180deg,#f7fbff,#f2f7ff);
  box-shadow:0 10px 28px rgba(7,31,79,.04);
}
.planningFriendlyIconV653{
  width:64px;
  height:64px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0645c2;
  background:#eaf2ff;
  font-size:39px;
}
.planningFriendlyRequestsV653 h2{
  margin:0;
  color:#0645c2;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.015em;
}
.planningFriendlyRequestsV653 p{
  margin:8px 0 0;
  color:#1f3d81;
  font-size:15px;
  font-weight:550;
}
.planningRequestsButtonV653{
  min-height:48px;
  padding:0 20px;
  border-radius:8px;
  border:1px solid rgba(50,91,170,.22);
  background:#fff;
  color:#071f4f;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:950;
  white-space:nowrap;
}
.planningRequestsButtonV653 svg{font-size:21px;}

@media (max-width:1180px){
  .planningTopbarV653{padding:0 24px;}
  .planningMainCardV653{padding:30px 24px 38px;}
  .planningFormV653{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .planningFormV653 #planningBadgeControls{grid-column:1 / -1;}
  .planningSportTableV653 .planningRowV653 td{padding:0 9px!important;}
  .planningSportTableV653 .planningRowV653 td:last-child{width:190px;}
  .planningTeamNameV653{font-size:15px;}
}
@media (max-width:820px){
  .planningPremiumBackdropV653{background:linear-gradient(180deg,#061f55 0,#061f55 132px,#f7faff 132px,#f7faff 100%);}
  .planningTopbarV653{
    height:auto;
    min-height:132px;
    padding:18px 16px 20px;
    grid-template-columns:1fr;
    align-items:start;
    gap:12px;
  }
  .planningTopbarCenterV653,.planningTopbarUserV653{justify-self:stretch;}
  .planningTopbarGroupV653{justify-content:space-between;}
  .planningTopbarV653 select{min-width:170px;}
  .planningTopbarUserV653{justify-content:flex-end;}
  .planningMainCardV653{
    min-height:calc(100vh - 132px);
    border-radius:26px 26px 0 0;
    padding:24px 14px 32px;
  }
  .planningCardHeaderV653{
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
    margin-bottom:24px;
  }
  .planningTitleIconV653{width:58px;height:58px;font-size:34px;border-radius:16px;}
  .planningTitleBlockV653{gap:14px;}
  .planningTitleBlockV653 h1{font-size:34px;}
  .planningTitleBlockV653 p{font-size:15px;}
  .planningHeaderActionsV653{width:100%;display:grid;grid-template-columns:1fr;gap:10px;}
  .planningSecondaryActionV653,.planningPrimaryActionV653{width:100%;min-height:50px;}
  .planningFormV653{grid-template-columns:1fr!important;}
  .planningSportTableV653,
  .planningSportTableV653 tbody,
  .planningSportTableV653 tr,
  .planningSportTableV653 td{display:block!important;width:auto!important;}
  .planningDateGroupRowV653 td{
    padding:18px 2px 10px!important;
    font-size:16px;
  }
  .planningSportTableV653 .planningRowV653{
    display:grid!important;
    grid-template-columns:auto auto 1fr auto;
    gap:12px;
    margin:0 0 12px;
    padding:14px;
    border:1px solid rgba(7,31,79,.11);
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 26px rgba(7,31,79,.06);
  }
  .planningSportTableV653 .planningRowV653 td{
    height:auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .planningCategoryCellV653{grid-column:1;grid-row:1;}
  .planningTypeCellV653{grid-column:2;grid-row:1;align-self:center;}
  .planningTimeCellV653{grid-column:3;grid-row:1;align-self:center;}
  .planningActionCellV653{grid-column:4;grid-row:1 / span 3;align-self:center;justify-content:flex-end;flex-direction:column;gap:8px;}
  .planningLeftTeamCellV653{grid-column:1 / -2;grid-row:2;}
  .planningVsCellV653{grid-column:1 / -2;grid-row:3;text-align:left!important;padding-left:58px!important;}
  .planningRightTeamCellV653{grid-column:1 / -2;grid-row:4;}
  .planningTeamRightV653{justify-content:flex-start;flex-direction:row-reverse;}
  .planningTeamRightV653 .planningTeamNameV653{text-align:left;}
  .planningTeamNameV653{font-size:16px;}
  .planningConvoquerBtnV653{width:44px;height:44px;min-height:44px;padding:0;border-radius:12px;}
  .planningConvoquerBtnV653 span{display:none;}
  .planningMoreBtnV653{width:44px;height:34px;}
  .planningDeleteBtnV653{right:46px;top:auto;bottom:0;}
  .planningFriendlyRequestsV653{
    grid-template-columns:auto 1fr;
    padding:18px;
  }
  .planningRequestsButtonV653{grid-column:1 / -1;width:100%;justify-content:center;}
}
@media (max-width:520px){
  .planningTopbarGroupV653 label{font-size:14px;}
  .planningTopbarV653 select{min-width:150px;font-size:14px;}
  .planningClubLogoV653{width:44px;height:44px;}
  .planningCategoryBadgeV653{min-width:58px;max-width:92px;font-size:12px;}
  .planningTimeCellV653 span{min-width:62px;font-size:14px;}
  .planningMatchTypeIconV653{width:34px;height:34px;font-size:26px;}
}

/* =====================================================
   URW V6.5.3.1 - Corrections alignement charte Scores/Classement
   ===================================================== */
body.planningPremiumV653{
  background:var(--page-bg,#eef3f8)!important;
}
body.planningPremiumV653 .menu-toggle{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:auto;
  margin:12px auto 8px;
  border-radius:999px;
  font-weight:850;
}
body.planningPremiumV653 #mainMenu.main-menu{
  display:none;
  max-width:1120px;
  margin:0 auto 14px;
}
body.planningPremiumV653 #mainMenu.main-menu.open{
  display:flex!important;
}
.planningPremiumBackdropV653{
  background:
    radial-gradient(circle at 15% -10%, rgba(49,103,211,.25), transparent 34%),
    linear-gradient(180deg,var(--kf-primary) 0,#061a44 92px,var(--page-bg,#eef3f8) 92px,var(--page-bg,#eef3f8) 100%);
}
.planningMainCardV653{
  max-width:1120px;
  min-height:auto;
  margin:0 auto 28px;
  border-radius:var(--radius-xl,26px);
  padding:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,251,255,.96));
  border:1px solid rgba(11,61,110,.09);
  box-shadow:var(--shadow-card,0 16px 44px rgba(16,35,56,.09));
}
.planningCardHeaderV653{
  padding:4px 0 18px;
  margin:0 0 18px;
  border-bottom:1px solid rgba(16,35,56,.085);
}
.planningTitleIconV653{
  width:58px;
  height:58px;
  border-radius:18px;
  font-size:34px;
}
.planningTitleBlockV653 h1{
  font-size:clamp(1.7rem,4vw,2.25rem);
  letter-spacing:-.055em;
}
.planningTitleBlockV653 p{
  color:var(--text-soft,#64748b);
  font-size:.95rem;
  margin-top:6px;
}
.planningSecondaryActionV653,
.planningPrimaryActionV653{
  min-height:42px;
  border-radius:999px;
  padding:0 16px;
  font-size:.9rem;
}
.planningDateGroupRowV653 td{
  text-align:right!important;
  padding:18px 2px 9px!important;
  font-size:.95rem!important;
  letter-spacing:-.015em!important;
}
.planningDateGroupRowV653 td .planningDateIconV653{
  margin-right:9px;
  font-size:18px;
  vertical-align:-2px;
  color:var(--club-primary,#0b3d6e);
}
.planningSportTableV653{
  border-spacing:0 7px!important;
}
.planningSportTableV653 .planningRowV653 td{
  height:58px;
  background:var(--bg-card,rgba(255,255,255,.96))!important;
  border-color:var(--border-soft,rgba(16,35,56,.105))!important;
  box-shadow:0 8px 24px rgba(16,35,56,.055)!important;
}
.planningSportTableV653 .planningRowV653 td:first-child{
  border-radius:20px 0 0 20px!important;
}
.planningSportTableV653 .planningRowV653 td:last-child{
  border-radius:0 20px 20px 0!important;
}
.planningCategoryBadgeV653{
  min-width:42px;
  max-width:86px;
  height:auto;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(11,61,110,.075);
  color:var(--club-primary,#0b3d6e);
  box-shadow:none;
  font-size:.78rem;
}
.planningMatchTypeIconV653{
  width:32px;
  height:32px;
  border-radius:999px;
  background:rgba(11,61,110,.055);
  border:1px solid rgba(11,61,110,.08);
  color:var(--club-primary,#0b3d6e);
  font-size:20px;
}
.planningMatchTypeEmptyV653{
  background:transparent;
  border-color:transparent;
}
.planningTimeCellV653 span{
  min-width:64px;
  height:30px;
  border-radius:14px;
  font-size:.9rem;
}
.planningClubLogoV653{
  width:42px;
  height:42px;
}
.planningTeamNameV653{
  font-size:.95rem;
}
.planningVsCellV653 span{
  width:36px;
  height:26px;
  background:#f2f5fb;
}
.planningConvoquerBtnV653{
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  font-size:.86rem;
}
.planningMoreBtnV653{
  width:30px;
  height:34px;
}
.planningFriendlyRequestsV653{
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,251,255,.97));
  box-shadow:0 10px 28px rgba(16,35,56,.055);
}
@media (max-width:820px){
  body.planningPremiumV653 .menu-toggle{margin-left:14px;margin-right:14px;}
  body.planningPremiumV653 #mainMenu.main-menu{margin-left:14px;margin-right:14px;}
  .planningMainCardV653{margin:0 10px 22px;padding:18px 14px;border-radius:22px;}
  .planningCardHeaderV653{padding-bottom:14px;}
  .planningDateGroupRowV653 td{text-align:left!important;}
}

/* URW V6.9.3 - Planning dans le shell core validé */
.urw-page-planning.urw-functional-page{
  padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px));
}
.urw-page-planning .urw-planning-card{
  overflow:visible;
}
.urw-page-planning .urw-page-header{
  align-items:flex-start;
  gap:16px;
}
.urw-page-planning .urw-planning-actions693{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.urw-page-planning .planningAddPanelV653{
  margin-top:18px;
}
.urw-page-planning .planningSportTableV653{
  margin-top:18px;
}
.urw-page-planning .planningFriendlyRequestsV653{
  margin-top:22px;
}
.urw-planning-team-menu693{
  position:fixed;
  z-index:2147483200;
  display:none;
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(15,23,42,.18);
  padding:10px;
}
.urw-planning-team-menu693.open{display:block;}
.urw-planning-team-menu693 .urw-team-dd-title6841{
  padding:8px 10px 10px;
  font-size:.78rem;
  font-weight:900;
  color:rgba(15,23,42,.58);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.urw-planning-team-menu693 .urw-team-dd-list6841{
  display:grid;
  gap:5px;
  max-height:min(360px,60vh);
  overflow:auto;
}
.urw-planning-team-menu693 button{
  width:100%;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#102338;
  padding:10px 12px;
  text-align:left;
  font-weight:850;
  cursor:pointer;
}
.urw-planning-team-menu693 button.active,
.urw-planning-team-menu693 button:hover{
  background:rgba(11,61,110,.08);
  color:#0b3d6e;
}
@media(max-width:760px){
  .urw-page-planning .urw-page-header{
    display:grid;
  }
  .urw-page-planning .urw-planning-actions693{
    width:100%;
    margin-left:0;
    display:grid;
    grid-template-columns:1fr;
  }
}

/* =====================================================
   URW V6.9.4.1 - Planning Popup + Fluid Rows
   Objectif : arrêter l'effet tableau à colonnes égales.
   ===================================================== */
body.planningPopupFluidRowsV6941{
  background:#f5f8fc;
}
body.planningPopupFluidRowsV6941 [data-urw-icon] svg,
body.planningPopupFluidRowsV6941 .planningFluidRowsV6941 svg,
body.planningPopupFluidRowsV6941 .planningAddressPanelV6941 svg{
  width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
body.planningPopupFluidRowsV6941 .urw-planning-card{
  overflow:visible;
  padding-bottom:26px;
}
body.planningPopupFluidRowsV6941 .urw-page-header{
  align-items:flex-start;
  gap:18px;
  margin-bottom:18px;
}
body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653,
body.planningPopupFluidRowsV6941 .planningSecondaryActionV653{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  border-radius:999px;
  padding:0 16px;
  font-weight:900;
  border:1px solid rgba(11,61,110,.14);
  cursor:pointer;
  white-space:nowrap;
}
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653{
  background:linear-gradient(135deg,var(--planning-primary,#0b3d6e),var(--kf-primary));
  color:#fff;
  box-shadow:0 12px 26px rgba(11,61,110,.18);
}
body.planningPopupFluidRowsV6941 .planningSecondaryActionV653{
  background:#fff;
  color:var(--planning-primary,#0b3d6e);
}
body.planningPopupFluidRowsV6941 .planningSecondaryActionV653 svg,
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653 svg{width:16px;height:16px;}

/* Modal ajout/demande */
.planningModalV6941{
  display:none!important;
  position:fixed;
  inset:0;
  z-index:9999;
  padding:28px;
  align-items:center;
  justify-content:center;
}
.planningModalV6941.is-open{
  display:flex!important;
}
.planningModalBackdropV6941{
  position:absolute;
  inset:0;
  background:rgba(4,16,34,.48);
  backdrop-filter:blur(8px);
}
.planningModalCardV6941{
  position:relative;
  z-index:1;
  width:min(980px,calc(100vw - 32px));
  max-height:calc(100vh - 40px);
  overflow:auto;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:0 34px 90px rgba(4,16,34,.28);
  padding:22px;
}
.planningModalHeaderV6941{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:0 0 16px;
  margin:0 0 16px;
  border-bottom:1px solid rgba(15,35,59,.10);
}
.planningModalHeaderV6941 strong{
  color:#102338;
  font-size:1.18rem;
  font-weight:950;
  letter-spacing:-.025em;
}
.planningModalHeaderV6941 p{
  margin:3px 0 0;
  color:#64748b;
  font-size:.9rem;
  font-weight:650;
}
.planningModalHeaderV6941 button{
  width:38px;height:38px;border-radius:14px;border:1px solid rgba(15,35,59,.12);background:#fff;color:#102338;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
}
.planningModalFormV6941{
  display:grid!important;
  grid-template-columns:minmax(90px,.7fr) minmax(130px,.8fr) minmax(92px,.55fr) minmax(150px,.9fr) minmax(190px,1.1fr) minmax(230px,1.3fr);
  gap:10px!important;
  align-items:center;
}
.planningModalFormV6941 select,
.planningModalFormV6941 input{
  min-height:42px!important;
  border-radius:14px!important;
  border:1px solid rgba(16,35,56,.13)!important;
  background:#fff!important;
  color:#102338!important;
  padding:0 12px!important;
  font-weight:750!important;
  box-sizing:border-box;
}
.planningModalFormV6941 #planningBadgeControls{
  grid-column:1 / span 3;
  display:flex;
  align-items:center;
  gap:8px;
}
.planningModalFormV6941 #planningBadgeControls label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(11,61,110,.12);
  background:rgba(11,61,110,.055);
  color:#0b3d6e;
  font-weight:850;
  font-size:.86rem;
}
.planningModalFooterV6941{
  grid-column:4 / -1;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.planningModalFooterV6941 button{
  min-height:42px;
  border-radius:999px;
  padding:0 16px;
  font-weight:950;
  cursor:pointer;
}
.planningModalFooterV6941 #addPlanBtn{
  border:0;
  background:linear-gradient(135deg,var(--planning-primary,#0b3d6e),var(--kf-primary));
  color:#fff;
  box-shadow:0 12px 26px rgba(11,61,110,.16);
}
.planningModalFooterV6941 #clearPlanningBtn{
  border:1px solid rgba(16,35,56,.12);
  background:#fff;
  color:#334155;
}

/* =========================================================
   V6.9.6.3 — Planning match rows canonical tokens
   Scope: match rows only.
   No visual change intended: values mirror the stable V6.9.5.7 render.
   ========================================================= */
body.planningPopupFluidRowsV6941{
  --planning-row-gap-y:8px;
  --planning-date-padding:14px 0 4px;
  --planning-date-gap:9px;
  --planning-date-font-size:.88rem;
  --planning-date-font-weight:950;
  --planning-row-padding:10px 12px;
  --planning-row-bg:linear-gradient(180deg,#fff,#fbfdff);
  --planning-row-border:1px solid rgba(15,35,59,.10);
  --planning-row-shadow:0 10px 24px rgba(16,35,56,.045);
  --planning-row-radius:18px;
  --planning-category-min-width:40px;
  --planning-category-height:30px;
  --planning-category-padding-x:10px;
  --planning-category-font-size:.8rem;
  --planning-category-font-weight:950;
  --planning-type-slot-size:20px;
  --planning-type-slot-margin-x:8px;
  --planning-time-min-width:52px;
  --planning-time-height:30px;
  --planning-time-padding-x:10px;
  --planning-time-font-size:.86rem;
  --planning-time-font-weight:950;
  --planning-match-grid-side:minmax(120px,1fr);
  --planning-match-grid-gap:12px;
  --planning-team-gap:9px;
  --planning-team-font-weight:950;
  --planning-team-font-size:1rem;
  --planning-logo-size:26px;
  --planning-logo-radius:50%;
  --planning-logo-font-size:.62rem;
  --planning-vs-min-width:38px;
  --planning-vs-height:30px;
  --planning-vs-padding-x:9px;
  --planning-vs-font-size:.7rem;
  --planning-action-size:36px;
  --planning-action-radius:13px;
  --planning-action-gap:6px;
  --planning-action-icon-size:17px;
}

/* =========================================================
   PLANNING MATCH ROWS — CANONICAL DESKTOP RULES V6.9.6.6
   Source of truth for Planning desktop match rows and score-like date groups.
   Do not duplicate these selectors below this block.
   ========================================================= */
body.planningPopupFluidRowsV6941 .planningFluidRowsV6941,
body.planningPopupFluidRowsV6941 .planningFluidRowsV6941 tbody{
  display:block!important;
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:auto!important;
  margin-top:8px!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653,
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td{
  display:block!important;
  width:100%!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td{
  text-align:left!important;
  padding:16px 0 8px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:var(--planning-date-gap)!important;
  margin-left:0!important;
  margin-right:auto!important;
  color:#102338!important;
  font-size:var(--planning-date-font-size)!important;
  font-weight:var(--planning-date-font-weight)!important;
  letter-spacing:.02em!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV652 span::before,
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 span::before{
  content:none!important;
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 svg,
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 .planningDateIconV653{
  display:inline-flex!important;
  width:16px!important;
  height:16px!important;
  color:var(--planning-primary,#0b3d6e)!important;
  vertical-align:-3px!important;
}
body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
  display:grid!important;
  grid-template-columns:158px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  min-height:38px!important;
  border-radius:0!important;
  border:1px solid rgba(15,35,59,.10)!important;
  border-bottom:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transform:none!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 + .planningFluidRowV6941{
  border-radius:16px 16px 0 0!important;
  margin-top:0!important;
}
body.planningPopupFluidRowsV6941 .planningFluidRowV6941:has(+ .planningDateGroupRowV653),
body.planningPopupFluidRowsV6941 .planningFluidRowV6941:last-child{
  border-bottom:1px solid rgba(15,35,59,.10)!important;
  border-radius:0 0 16px 16px!important;
  margin-bottom:10px!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 + .planningFluidRowV6941:has(+ .planningDateGroupRowV653),
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 + .planningFluidRowV6941:last-child{
  border-radius:16px!important;
}
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 + .planningFluidRowV6941{
  border-top-color:rgba(15,35,59,.075)!important;
}
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  padding:6px 8px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  vertical-align:middle!important;
}
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td:first-child,
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td:nth-child(2),
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td:nth-child(3),
body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td:last-child{
  width:auto!important;
  border:0!important;
  border-radius:0!important;
}
body.planningPopupFluidRowsV6941 .planningMetaCellV6941{
  grid-column:1!important;
  display:grid!important;
  grid-template-columns:68px 18px 52px!important;
  align-items:center!important;
  justify-content:start!important;
  column-gap:6px!important;
  width:158px!important;
  min-width:158px!important;
  max-width:158px!important;
  padding-left:10px!important;
  padding-right:0!important;
  white-space:nowrap!important;
}
body.planningPopupFluidRowsV6941 .planningMatchMainCellV6941{
  grid-column:2!important;
  min-width:0!important;
  flex:1 1 auto!important;
  padding-left:4px!important;
  padding-right:2px!important;
}
body.planningPopupFluidRowsV6941 .planningMatchCenterV6941{
  display:grid!important;
  grid-template-columns:minmax(120px,1.15fr) auto minmax(180px,1.65fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineV6941{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  gap:8px!important;
  color:#102338!important;
  font-size:.86rem!important;
  font-weight:850!important;
  line-height:1.08!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineLeftV6941{
  justify-content:flex-end!important;
  text-align:right!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineRightV6941{
  justify-content:flex-start!important;
  text-align:left!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineV6941 .planningTeamNameV653,
body.planningPopupFluidRowsV6941 .planningTeamNameV653{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#102338!important;
  font-size:.86rem!important;
  font-weight:850!important;
  line-height:1.08!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineV6941 .planningTeamNameV653.planningTextMediumV6949{
  font-size:.86rem!important;
  letter-spacing:0!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineV6941 .planningTeamNameV653.planningTextLongV6949{
  font-size:.86rem!important;
  letter-spacing:0!important;
}
body.planningPopupFluidRowsV6941 .planningTeamInlineV6941 .planningTeamNameV653.planningTextVeryLongV6949{
  font-size:.86rem!important;
  letter-spacing:0!important;
}
body.planningPopupFluidRowsV6941 .planningClubLogoV653{
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(180deg,#fff,#edf4fa)!important;
  border:1px solid rgba(16,35,56,.14)!important;
  box-shadow:0 3px 8px rgba(16,35,56,.08)!important;
}
body.planningPopupFluidRowsV6941 .planningClubLogoV653 img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
  background:#fff!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.planningPopupFluidRowsV6941 .planningClubLogoV653.has-logo .planningClubLogoInitialsV6968{display:none!important;}
body.planningPopupFluidRowsV6941 .planningClubLogoV653.fallback .planningClubLogoInitialsV6968{display:block!important;}
body.planningPopupFluidRowsV6941 .planningClubLogoFallbackV653{
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  max-width:26px!important;
  max-height:26px!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:.62rem!important;
  font-weight:950!important;
  line-height:1!important;
  color:var(--planning-primary,#0b3d6e)!important;
  background:linear-gradient(180deg,#fff,#edf4fa)!important;
  border:1px solid rgba(16,35,56,.14)!important;
  box-shadow:0 3px 8px rgba(16,35,56,.08)!important;
}
body.planningPopupFluidRowsV6941 .planningVsBadgeV6941{
  justify-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:30px!important;
  height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  font-size:.68rem!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  color:#0b3d6e!important;
  background:rgba(237,247,255,.72)!important;
  border:1px solid rgba(11,61,110,.10)!important;
}
body.planningPopupFluidRowsV6941 .planningMetaCellV6941 .planningCategoryBadgeV653,
body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:68px!important;
  min-width:68px!important;
  max-width:68px!important;
  height:22px!important;
  padding:0 6px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  border-radius:999px!important;
  font-size:.68rem!important;
  font-weight:950!important;
  line-height:1.05!important;
  background:rgba(11,61,110,.055)!important;
  border:1px solid rgba(11,61,110,.065)!important;
  box-shadow:none!important;
}
body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653.planningTextMediumV6949{
  font-size:.68rem!important;
  letter-spacing:-.01em!important;
}
body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653.planningTextLongV6949{
  font-size:.63rem!important;
  letter-spacing:-.02em!important;
}
body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653.planningTextVeryLongV6949{
  font-size:.58rem!important;
  letter-spacing:-.025em!important;
}
body.planningPopupFluidRowsV6941 .planningTimeBadgeV6941{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:22px!important;
  padding:0 5px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  border-radius:999px!important;
  font-size:.72rem!important;
  font-weight:950!important;
  line-height:1.05!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeSlotV6947,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941,
body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6947{
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  color:#0f2747!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  opacity:1!important;
  line-height:1!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6947,
body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6941{
  visibility:hidden!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeSlotV6947 svg,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:.95!important;
}
body.planningPopupFluidRowsV6941 .planningActionCellV6941{
  grid-column:3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  justify-self:end!important;
  width:auto!important;
  min-width:max-content!important;
  white-space:nowrap!important;
}

/* V6.9.7.0 - Coach/read visibility fix for modern Planning rows.
   Neutralise explicitement les anciens masquages de cellules V6.5 en mode lecture. */
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningDateGroupRowV653 > td,
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningFluidRowV6941 > td,
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningFluidRowV6941 > td:first-child,
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningFluidRowV6941 > td:nth-child(2),
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningFluidRowV6941 > td:nth-child(3){
  display:flex!important;
}
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningDateGroupRowV653 > td{
  display:block!important;
}
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMetaCellV6941{grid-column:1!important;}
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMatchMainCellV6941{grid-column:2!important;}
body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningActionCellV6941{grid-column:3!important;justify-self:end!important;justify-content:flex-end!important;}

/* V6.9.6.5 cleanup: planningActionCellV6941 géré dans le bloc canonique. */
body.planningPopupFluidRowsV6941 .planningActionClusterV6941{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941{
  position:relative!important;
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  line-height:1!important;
  font-size:0!important;
  opacity:1!important;
  color:#071f4f!important;
  background:#fff!important;
  border:1px solid rgba(7,31,79,.16)!important;
  box-shadow:none!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941::before,
body.planningPopupFluidRowsV6941 .planningIconActionV6941::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 svg{
  display:block!important;
  visibility:visible!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.55!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  pointer-events:none!important;
  color:inherit!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg *,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 svg *{
  stroke:currentColor!important;
  fill:none!important;
  opacity:1!important;
}
body.planningPopupFluidRowsV6941 .planningLocationBtnV6941{color:#0b3d6e!important;background:#eef6ff!important;border-color:rgba(11,61,110,.30)!important;}
body.planningPopupFluidRowsV6941 .planningConvoBtnV6941{color:#0b3d6e!important;background:#eef6ff!important;border-color:rgba(11,61,110,.28)!important;}
body.planningPopupFluidRowsV6941 .planningEditBtnV6951{color:#374151!important;background:#f9fafb!important;border-color:rgba(55,65,81,.22)!important;}
body.planningPopupFluidRowsV6941 .planningDeleteBtnV6941{color:#111827!important;background:#fff!important;border-color:rgba(17,24,39,.22)!important;}
body.planningPopupFluidRowsV6941 .planningIconActionV6941:empty,
body.planningPopupFluidRowsV6941 .planningIconActionV6941:not(:has(svg)),
body.planningPopupFluidRowsV6941 .planningIconActionV6941[data-planning-action-icon=""]{
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 4px 10px rgba(7,31,79,.08)!important;
}
body.planningPopupFluidRowsV6941 .planningRequestsButtonV653{
  color:#071f4f!important;
  background:#fff!important;
  border:1px solid rgba(7,31,79,.18)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  font-weight:950!important;
  min-width:190px!important;
  opacity:1!important;
}
body.planningPopupFluidRowsV6941 .planningRequestsButtonV653 svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
}
@media (max-width:900px){
  body.planningPopupFluidRowsV6941 .urw-page-header{align-items:stretch!important;}
  body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{margin-left:0!important;width:100%!important;justify-content:flex-end!important;}
  body.planningPopupFluidRowsV6941 .planningPrimaryActionV653{min-width:0;}
}

/* =====================================================
   URW V6.9.4.3 - Planning Line Actions & Alignment Fix
   Correctifs ciblés : alignement gauche, actions compactes,
   icônes visibles, match central prioritaire.
   ===================================================== */
body.planningPopupFluidRowsV6941 .urw-page-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:22px!important;
}
body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{
  margin-left:24px!important;
  justify-content:flex-start!important;
  flex:0 1 auto!important;
}
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653{
  order:-1!important;
  min-width:0!important;
}
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653 svg{
  width:18px!important;
  height:18px!important;
  stroke-width:2.45!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td{
  text-align:left!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td>span{
  justify-content:flex-start!important;
  margin-left:0!important;
  margin-right:auto!important;
}

/* V6.9.6.5 cleanup: anciennes règles desktop de lignes V6.9.4.3 neutralisées. */
@media (max-width:900px){
  body.planningPopupFluidRowsV6941 .urw-page-header{align-items:stretch!important;}
  body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{margin-left:0!important;width:100%!important;}
}
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941{grid-column:1!important;grid-row:1!important;}
  body.planningPopupFluidRowsV6941 .planningActionCellV6941{grid-column:2!important;grid-row:1!important;}
  body.planningPopupFluidRowsV6941 .planningMatchMainCellV6941{grid-column:1 / -1!important;grid-row:2!important;}
}

/* =====================================================
   URW V6.9.4.4 - Planning 5 priorités
   1 actions visibles, 2 zone actions compacte,
   3 match central plus large, 4 handshake plus lisible,
   5 header actions plus naturel.
   ===================================================== */
body.planningPopupFluidRowsV6941 .urw-page-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:18px!important;
}
body.planningPopupFluidRowsV6941 .urw-page-identity{
  flex:0 0 auto!important;
  min-width:0!important;
}
body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{
  margin-left:28px!important;
  flex:0 1 auto!important;
  justify-content:flex-start!important;
  gap:12px!important;
}
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653{
  order:-1!important;
  padding:0 22px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
body.planningPopupFluidRowsV6941 .planningSecondaryActionV653{
  padding:0 18px!important;
  min-width:0!important;
  white-space:nowrap!important;
  opacity:.94!important;
}

/* Dates : plus propres, sans point parasite */
body.planningPopupFluidRowsV6941 .planningDateGroupRowV652 span::before,
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 span::before{
  content:none!important;
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td{
  text-align:left!important;
  padding:16px 0 8px!important;
}
body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 .planningDateIconV653{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-right:8px!important;
  width:18px!important;
  height:18px!important;
  color:#0b3d6e!important;
  vertical-align:-3px!important;
}

/* V6.9.6.5 cleanup: anciennes règles desktop de lignes/actions V6.9.4.4 neutralisées. */
@media (max-width:900px){
  body.planningPopupFluidRowsV6941 .urw-page-header{align-items:flex-start!important;}
  body.planningPopupFluidRowsV6941 .planningHeaderActionsV653{margin-left:0!important;width:100%!important;justify-content:flex-start!important;}
}
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
}


/* =====================================================
   URW V6.9.4.5 - REAL ACTION ICONS FIX
   Correctif ciblé : ne plus masquer les SVG des actions Planning.
   Les icônes sont rendues en SVG inline depuis le JS.
   ===================================================== */
/* V6.9.6.5 cleanup: planningActionCellV6941 géré dans le bloc canonique. */
body.planningPopupFluidRowsV6941 .planningIconActionV6941{
  position:relative!important;
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  line-height:1!important;
  font-size:0!important;
  opacity:1!important;
}
/* Neutralisation explicite de l'ancienne logique mask-image / pseudo-icône */
body.planningPopupFluidRowsV6941 .planningIconActionV6941::before,
body.planningPopupFluidRowsV6941 .planningIconActionV6941::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg{
  display:block!important;
  visibility:visible!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.55!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  pointer-events:none!important;
  color:inherit!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg *,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg path,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg circle,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg rect,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg line,
body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg polyline{
  stroke:currentColor!important;
  fill:none!important;
  opacity:1!important;
}
body.planningPopupFluidRowsV6941 .planningLocationBtnV6941{
  color:#0b3d6e!important;
  background:#eef6ff!important;
  border:1px solid rgba(11,61,110,.30)!important;
}
body.planningPopupFluidRowsV6941 .planningConvoBtnV6941{
  color:#075985!important;
  background:#ecfeff!important;
  border:1px solid rgba(7,89,133,.30)!important;
}
body.planningPopupFluidRowsV6941 .planningDeleteBtnV6941{
  color:#b91c1c!important;
  background:#fff1f2!important;
  border:1px solid rgba(185,28,28,.32)!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941:empty,
body.planningPopupFluidRowsV6941 .planningIconActionV6941:not(:has(svg)),
body.planningPopupFluidRowsV6941 .planningIconActionV6941[data-planning-action-icon=""]{
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningIconActionV6941:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 4px 10px rgba(7,31,79,.08)!important;
}

/* =====================================================
   URW V6.9.4.6 - PLANNING ICONS COHERENCE FIX
   Correctif ciblé icônes uniquement.
   ===================================================== */
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:0!important;
  margin:0 2px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#0f2747!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  line-height:1!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:.92!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg *,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg path,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg circle,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg rect,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg line,
body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941 svg polyline{
  stroke:currentColor!important;
  fill:none!important;
}
body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6941{display:none!important;}

/* Convocation : cohérence homepage = clipboard/check */
body.planningPopupFluidRowsV6941 .planningConvoBtnV6941{
  color:#0b3d6e!important;
  background:#eef6ff!important;
  border:1px solid rgba(11,61,110,.28)!important;
}

/* Suppression : X noire/navy, plus de poubelle rouge */
body.planningPopupFluidRowsV6941 .planningDeleteBtnV6941{
  color:#111827!important;
  background:#ffffff!important;
  border:1px solid rgba(17,24,39,.22)!important;
}
body.planningPopupFluidRowsV6941 .planningDeleteBtnV6941 > svg{
  width:17px!important;
  height:17px!important;
  stroke-width:2.7!important;
}

/* V6.9.6.5 cleanup: planningMetaCellV6941 géré dans le bloc canonique. */

/* =====================================================
   URW V6.9.4.7 - PLANNING META ALIGNMENT FIX
   Correctif ciblé : mini-grille méta [catégorie][type][heure]
   + icône amical plus lisible. Ne touche pas aux actions.
   ===================================================== */
/* V6.9.6.5 cleanup: anciennes règles desktop méta/match V6.9.4.7 neutralisées. */
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941{
    grid-template-columns:minmax(72px,104px) 24px 72px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding-left:0!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941 .planningCategoryBadgeV653,
  body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653{
    width:auto!important;
    min-width:0!important;
    max-width:104px!important;
  }
}

/* =====================================================
   URW V6.9.4.8 - PLANNING DENSITY & LINE ALIGNMENT FIX
   Correctif ciblé : réduire le vide méta->match, densifier la méta,
   donner plus d'espace naturel aux noms d'équipes et éviter le footer.
   ===================================================== */
body.planningPopupFluidRowsV6941{
  padding-bottom:118px!important;
}
body.planningPopupFluidRowsV6941 .urw-planning-card{
  padding-bottom:104px!important;
}
/* V6.9.6.5 cleanup: anciennes règles desktop densité/alignement V6.9.4.8 neutralisées. */
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    grid-template-columns:minmax(0,1fr) max-content!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941{
    grid-template-columns:minmax(72px,88px) 18px 64px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding-left:0!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941 .planningCategoryBadgeV653,
  body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653{
    width:auto!important;
    min-width:72px!important;
    max-width:88px!important;
  }
}

/* =====================================================
   URW V6.9.4.9 - PLANNING ADAPTIVE TEXT SIZE FIX
   V6.9.6.5 cleanup: règles desktop recalibrées dans le bloc canonique.
   ===================================================== */
/* =====================================================
   URW V6.9.5.0 - PLANNING WHATSAPP & AMICAL ICON FIX
   Correctif ciblé : icône WhatsApp, suppression texte explicatif,
   icône agenda+plus plus élégante pour demandes amicales.
   ===================================================== */
body.planningPopupFluidRowsV6941 .planningWhatsappPanelV6941{
  justify-content:flex-start!important;
  align-items:center!important;
  gap:0!important;
  padding:16px 20px!important;
}
body.planningPopupFluidRowsV6941 .planningWhatsappPanelV6941 p{
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:0 22px!important;
}
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941 .planningWhatsappIconV6950{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  display:block!important;
  fill:currentColor!important;
  stroke:none!important;
  color:#fff!important;
}
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941 .planningWhatsappIconV6950 path{
  fill:currentColor!important;
  stroke:none!important;
}
body.planningPopupFluidRowsV6941 .planningFriendlyIconV653{
  position:relative!important;
}
body.planningPopupFluidRowsV6941 .planningFriendlyIconV653 > span[data-urw-icon="calendar-plus"]{
  display:none!important;
}
body.planningPopupFluidRowsV6941 .planningFriendlyCalendarPlusIconV6950{
  width:36px!important;
  height:36px!important;
  display:block!important;
  color:#0b52d0!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.planningPopupFluidRowsV6941 .planningFriendlyCalendarPlusIconV6950 rect,
body.planningPopupFluidRowsV6941 .planningFriendlyCalendarPlusIconV6950 path{
  fill:none!important;
  stroke:currentColor!important;
}

/* =====================================================
   URW V6.9.5.3 - PLANNING ADD FORM COMPACT GRID CLEAN
   Objectif : mini-grille terrain sans scroll horizontal.
   ===================================================== */
body.planningAddCompactGridV6953 .planningHeaderActionsV653 #planningToggleAddMatchBtnV653{
  display:none!important;
}
body.planningAddCompactGridV6953 .planningModalV6941,
body.planningAddCompactGridV6953 .planningModalV6941.is-open{
  display:block!important;
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  padding:0!important;
  margin:12px 0 18px!important;
  width:100%!important;
  overflow:visible!important;
}
body.planningAddCompactGridV6953 .planningModalBackdropV6941,
body.planningAddCompactGridV6953 #planningCloseAddPanelV653,
body.planningAddCompactGridV6953 #clearPlanningBtn{
  display:none!important;
}
body.planningAddCompactGridV6953 .planningModalCardV6941{
  width:100%!important;
  max-width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:14px 18px 18px!important;
  border-radius:22px!important;
  border:1px solid rgba(15,35,59,.12)!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 28px rgba(16,35,56,.055)!important;
}
body.planningAddCompactGridV6953 .planningModalHeaderV6941{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  margin:0 0 12px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid rgba(15,35,59,.08)!important;
}
body.planningAddCompactGridV6953 .planningModalHeaderV6941 strong{
  font-size:1rem!important;
  font-weight:950!important;
}
body.planningAddCompactGridV6953 .planningModalHeaderV6941 p{
  margin:2px 0 0!important;
  font-size:.82rem!important;
  font-weight:800!important;
  color:#5e6b80!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941{
  display:grid!important;
  grid-template-columns:112px 40px 126px 92px minmax(150px,180px) minmax(160px,1fr) 42px!important;
  grid-auto-rows:40px!important;
  gap:8px 8px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 select,
body.planningAddCompactGridV6953 .planningModalFormV6941 input{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  height:40px!important;
  min-height:40px!important;
  border-radius:14px!important;
  padding:0 10px!important;
  font-size:.86rem!important;
  font-weight:850!important;
  box-sizing:border-box!important;
  text-overflow:ellipsis!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 input::placeholder{
  font-size:.82rem!important;
  font-weight:800!important;
  color:rgba(15,35,59,.54)!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planCategory{
  grid-column:1!important;
  grid-row:1!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 .categoryPlusBtnV36212{
  grid-column:2!important;
  grid-row:1!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  min-height:40px!important;
  margin:0!important;
  border-radius:12px!important;
  justify-self:start!important;
  align-self:center!important;
  box-shadow:0 8px 16px rgba(11,61,110,.13)!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planDate{
  grid-column:3!important;
  grid-row:1!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planTime{
  grid-column:4!important;
  grid-row:1!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planLocationType{
  grid-column:5!important;
  grid-row:1!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planOpponent{
  grid-column:6!important;
  grid-row:1!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planManualAddress{
  grid-column:5 / 7!important;
  grid-row:2!important;
}
body.planningAddCompactGridV6953 .planningModalFormV6941 #planningBadgeControls{
  grid-column:7!important;
  grid-row:1 / 3!important;
  display:grid!important;
  grid-template-columns:40px!important;
  grid-template-rows:40px 40px!important;
  gap:8px!important;
  align-items:center!important;
  justify-items:center!important;
  min-width:40px!important;
  max-width:40px!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(11,61,110,.18)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0b3d6e!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953 input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953 span[data-urw-icon]{
  display:inline-flex!important;
  width:19px!important;
  height:19px!important;
  align-items:center!important;
  justify-content:center!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953 span[data-urw-icon] svg{
  width:19px!important;
  height:19px!important;
  stroke:currentColor!important;
  fill:none!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953:has(input:checked){
  background:#eaf3ff!important;
  border-color:rgba(11,61,110,.48)!important;
  color:var(--kf-primary)!important;
  box-shadow:0 6px 14px rgba(11,61,110,.12)!important;
}
body.planningAddCompactGridV6953 .planningTypeToggleV6953:focus-within{
  outline:3px solid rgba(11,61,110,.18)!important;
  outline-offset:2px!important;
}
body.planningAddCompactGridV6953 .planningModalFooterV6941{
  grid-column:1 / 3!important;
  grid-row:2!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  min-width:0!important;
}
body.planningAddCompactGridV6953 .planningModalFooterV6941 #addPlanBtn{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  border-radius:14px!important;
  padding:0 16px!important;
  white-space:nowrap!important;
  font-size:.9rem!important;
  font-weight:950!important;
}
body.planningAddCompactGridV6953 .planningEditBtnV6951{
  color:#0b3d6e!important;
  background:#ffffff!important;
  border:1px solid rgba(11,61,110,.24)!important;
}
body.planningAddCompactGridV6953 .planningEditBtnV6951 > svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
}
/* retour à l'ancienne icône du bloc demandes amicales si la variante V6.9.5.0 était présente */
body.planningAddCompactGridV6953 .planningFriendlyIconV653 > span[data-urw-icon="calendar-plus"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  color:#0b52d0!important;
}
body.planningAddCompactGridV6953 .planningFriendlyIconV653 > span[data-urw-icon="calendar-plus"] svg{
  width:34px!important;
  height:34px!important;
  stroke:currentColor!important;
  fill:none!important;
}
body.planningAddCompactGridV6953 .planningFriendlyCalendarPlusIconV6950{
  display:none!important;
}
body.planningAddCompactGridV6953 .sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media (max-width:1080px){
  body.planningAddCompactGridV6953 .planningModalFormV6941{
    grid-template-columns:104px 40px 116px 86px minmax(135px,160px) minmax(130px,1fr) 42px!important;
    gap:8px 7px!important;
  }
  body.planningAddCompactGridV6953 .planningModalFormV6941 select,
  body.planningAddCompactGridV6953 .planningModalFormV6941 input{
    font-size:.8rem!important;
    padding:0 8px!important;
  }
}
@media (max-width:860px){
  body.planningAddCompactGridV6953 .planningModalFormV6941{
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:9px!important;
  }
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planCategory{grid-column:1 / 2!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 .categoryPlusBtnV36212{grid-column:2!important;grid-row:auto!important;width:44px!important;height:40px!important;min-width:44px!important;max-width:44px!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planDate{grid-column:3!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planTime{grid-column:4!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planLocationType{grid-column:1 / 3!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planOpponent{grid-column:3 / 5!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planManualAddress{grid-column:1 / 5!important;grid-row:auto!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planningBadgeControls{grid-column:1 / 3!important;grid-row:auto!important;display:flex!important;flex-direction:row!important;max-width:none!important;min-width:0!important;gap:8px!important;justify-content:flex-start!important;}
  body.planningAddCompactGridV6953 .planningModalFooterV6941{grid-column:3 / 5!important;grid-row:auto!important;}
}
@media (max-width:640px){
  body.planningAddCompactGridV6953 .planningModalCardV6941{
    padding:14px!important;
    border-radius:20px!important;
  }
  body.planningAddCompactGridV6953 .planningModalFormV6941{
    grid-template-columns:1fr 44px!important;
    gap:9px!important;
  }
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planCategory{grid-column:1!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 .categoryPlusBtnV36212{grid-column:2!important;}
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planDate,
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planTime,
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planLocationType,
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planOpponent,
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planManualAddress,
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planningBadgeControls,
  body.planningAddCompactGridV6953 .planningModalFooterV6941{
    grid-column:1 / -1!important;
  }
  body.planningAddCompactGridV6953 .planningModalFormV6941 #planningBadgeControls{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    max-width:none!important;
  }
  body.planningAddCompactGridV6953 .planningTypeToggleV6953{
    width:100%!important;
    max-width:none!important;
  }
  body.planningAddCompactGridV6953 .planningModalFooterV6941 #addPlanBtn{
    width:100%!important;
  }
}

/* =====================================================
   URW V6.9.5.2 - PLANNING MOBILE INIT / BUTTONS FIX
   Objectif : éviter qu'un ancien backdrop/modal intercepte les taps mobile.
   ===================================================== */
body.urw-page-planning .planningModalBackdropV6941{
  pointer-events:none!important;
}
body.planningAddFormResponsiveV6951 #addMatchSection{
  pointer-events:auto!important;
}
body.planningAddFormResponsiveV6951 .planningHeaderActionsV653 button,
body.planningAddFormResponsiveV6951 .planningWhatsappBtnV6941,
body.planningAddFormResponsiveV6951 .planningRequestsButtonV653{
  pointer-events:auto!important;
  touch-action:manipulation;
}

/* =========================================================
   URW V6.9.5.4 — Planning add form UX checkbox + venue fix
   Correctif ciblé formulaire uniquement.
   ========================================================= */
body.planningAddFormUxV6954 .planningModalHeaderV6941 strong{
  font-weight:750!important;
  letter-spacing:-.01em!important;
}
body.planningAddFormUxV6954 .planningModalHeaderV6941 p{
  font-weight:500!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941{
  grid-template-columns:108px 40px 118px 86px 92px minmax(150px,1fr) 64px!important;
  gap:8px!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 select,
body.planningAddFormUxV6954 .planningModalFormV6941 input{
  font-weight:560!important;
  font-size:.82rem!important;
  letter-spacing:-.005em!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 input::placeholder{
  font-weight:460!important;
  font-size:.78rem!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 #planLocationType{
  display:none!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 #planningVenueControls{
  grid-column:5!important;
  grid-row:1!important;
}
body.planningAddFormUxV6954 .planningVenueControlsV6954{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  min-width:0!important;
  width:100%!important;
  height:40px!important;
  align-items:center!important;
}
body.planningAddFormUxV6954 .planningVenueBtnV6954{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:40px!important;
  min-width:0!important;
  border:1px solid rgba(11,61,110,.18)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#405267!important;
  cursor:pointer!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.planningAddFormUxV6954 .planningVenueBtnV6954 svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
}
body.planningAddFormUxV6954 .planningVenueBtnV6954.is-active{
  background:#eaf3ff!important;
  border-color:rgba(11,61,110,.50)!important;
  color:var(--kf-primary)!important;
  box-shadow:0 6px 14px rgba(11,61,110,.10)!important;
}
body.planningAddFormUxV6954 .planningVenueBtnV6954:focus-visible{
  outline:3px solid rgba(11,61,110,.18)!important;
  outline-offset:2px!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 #planOpponent{
  grid-column:6!important;
  grid-row:1!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 #planManualAddress{
  grid-column:5 / 7!important;
  grid-row:2!important;
}
body.planningAddFormUxV6954 .planningModalFormV6941 #planningBadgeControls{
  grid-column:7!important;
  grid-row:1 / 3!important;
  display:grid!important;
  grid-template-columns:64px!important;
  grid-template-rows:40px 40px!important;
  gap:8px!important;
  align-items:center!important;
  justify-items:stretch!important;
  min-width:64px!important;
  max-width:64px!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953,
body.planningAddFormUxV6954 .planningTypeCheckV6954{
  width:64px!important;
  height:40px!important;
  min-width:64px!important;
  min-height:40px!important;
  padding:0 7px!important;
  gap:5px!important;
  border:1px solid rgba(11,61,110,.18)!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#31455c!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953 input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
body.planningAddFormUxV6954 .planningCheckDotV6954{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  border-radius:999px!important;
  border:1.6px solid rgba(49,69,92,.55)!important;
  background:#fff!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953 input:checked + .planningCheckDotV6954{
  border-color:var(--kf-primary)!important;
  background:var(--kf-primary)!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953 span[data-urw-icon]{
  width:18px!important;
  height:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953 span[data-urw-icon] svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953:has(input:checked){
  background:#f3f8ff!important;
  border-color:rgba(11,61,110,.38)!important;
  color:var(--kf-primary)!important;
  box-shadow:0 6px 14px rgba(11,61,110,.08)!important;
}
body.planningAddFormUxV6954 .planningTypeToggleV6953:focus-within{
  outline:3px solid rgba(11,61,110,.15)!important;
  outline-offset:2px!important;
}
body.planningAddFormUxV6954 .planningModalFooterV6941 #addPlanBtn{
  font-weight:760!important;
  font-size:.86rem!important;
}

@media (max-width:1080px){
  body.planningAddFormUxV6954 .planningModalFormV6941{
    grid-template-columns:100px 38px 108px 82px 88px minmax(125px,1fr) 62px!important;
    gap:7px!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 select,
  body.planningAddFormUxV6954 .planningModalFormV6941 input{
    font-size:.78rem!important;
    padding:0 8px!important;
  }
  body.planningAddFormUxV6954 .planningTypeToggleV6953,
  body.planningAddFormUxV6954 .planningTypeCheckV6954{
    width:62px!important;
    min-width:62px!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningBadgeControls{
    grid-template-columns:62px!important;
    min-width:62px!important;
    max-width:62px!important;
  }
}

@media (max-width:860px){
  body.planningAddFormUxV6954 .planningModalFormV6941{
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:9px!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningVenueControls{
    grid-column:1 / 3!important;
    grid-row:auto!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planOpponent{
    grid-column:3 / 5!important;
    grid-row:auto!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planManualAddress{
    grid-column:1 / 5!important;
    grid-row:auto!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningBadgeControls{
    grid-column:1 / 3!important;
    grid-row:auto!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:40px!important;
    gap:8px!important;
    max-width:none!important;
    min-width:0!important;
  }
  body.planningAddFormUxV6954 .planningTypeToggleV6953,
  body.planningAddFormUxV6954 .planningTypeCheckV6954{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}

@media (max-width:640px){
  body.planningAddFormUxV6954 .planningModalFormV6941{
    grid-template-columns:1fr 44px!important;
    gap:9px!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningVenueControls,
  body.planningAddFormUxV6954 .planningModalFormV6941 #planOpponent,
  body.planningAddFormUxV6954 .planningModalFormV6941 #planManualAddress,
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningBadgeControls,
  body.planningAddFormUxV6954 .planningModalFooterV6941{
    grid-column:1 / -1!important;
  }
  body.planningAddFormUxV6954 .planningModalFormV6941 #planningBadgeControls{
    grid-template-columns:1fr 1fr!important;
  }
}

/* =========================================================
   URW V6.9.5.5 — Planning add form radio grid + address fix
   Correctif ciblé formulaire uniquement.
   ========================================================= */
body.planningAddFormRadioGridV6955 .planningModalFormV6941{
  display:grid!important;
  grid-template-columns:minmax(92px,112px) 40px 118px 56px minmax(150px,1fr) 64px!important;
  grid-template-rows:40px 40px!important;
  grid-auto-flow:row!important;
  align-items:center!important;
  gap:8px!important;
  overflow:visible!important;
  max-width:100%!important;
}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 select,
body.planningAddFormRadioGridV6955 .planningModalFormV6941 input{
  min-width:0!important;
  width:100%!important;
  height:40px!important;
  font-weight:500!important;
  font-size:.8rem!important;
  letter-spacing:-.01em!important;
  box-sizing:border-box!important;
}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 input::placeholder{
  font-weight:420!important;
  font-size:.76rem!important;
  opacity:.72!important;
}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planCategory{grid-column:1!important;grid-row:1!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 .categoryPlusBtnV36212{
  grid-column:2!important;grid-row:1!important;
  width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;
}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planDate{grid-column:3!important;grid-row:1!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planTime{grid-column:3!important;grid-row:2!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planLocationType{display:none!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningVenueControls{
  grid-column:4!important;grid-row:1 / 3!important;
  display:grid!important;
  grid-template-columns:56px!important;
  grid-template-rows:40px 40px!important;
  gap:8px!important;
  min-width:56px!important;max-width:56px!important;width:56px!important;height:auto!important;
  align-items:center!important;justify-items:stretch!important;
}
body.planningAddFormRadioGridV6955 .planningVenueBtnV6954,
body.planningAddFormRadioGridV6955 .planningVenueRadioV6955{
  width:56px!important;min-width:56px!important;max-width:56px!important;height:40px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;padding:0 6px!important;box-sizing:border-box!important;
  border:1px solid rgba(11,61,110,.18)!important;border-radius:13px!important;
  background:#fff!important;color:#31455c!important;box-shadow:none!important;cursor:pointer!important;
}
body.planningAddFormRadioGridV6955 .planningVenueBtnV6954 svg{width:17px!important;height:17px!important;stroke:currentColor!important;fill:none!important;}
body.planningAddFormRadioGridV6955 .planningRadioDotV6955{
  width:13px!important;height:13px!important;min-width:13px!important;border-radius:999px!important;
  border:1.7px solid rgba(49,69,92,.56)!important;background:#fff!important;box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
body.planningAddFormRadioGridV6955 .planningVenueBtnV6954.is-active{
  background:#f3f8ff!important;border-color:rgba(11,61,110,.40)!important;color:var(--kf-primary)!important;
  box-shadow:0 5px 12px rgba(11,61,110,.08)!important;
}
body.planningAddFormRadioGridV6955 .planningVenueBtnV6954.is-active .planningRadioDotV6955{
  border-color:var(--kf-primary)!important;background:var(--kf-primary)!important;box-shadow:inset 0 0 0 3px #fff!important;
}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planOpponent{grid-column:5!important;grid-row:1!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planManualAddress{grid-column:5!important;grid-row:2!important;}
body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningBadgeControls{
  grid-column:6!important;grid-row:1 / 3!important;
  display:grid!important;grid-template-columns:64px!important;grid-template-rows:40px 40px!important;
  gap:8px!important;min-width:64px!important;max-width:64px!important;width:64px!important;
  align-items:center!important;justify-items:stretch!important;
}
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953,
body.planningAddFormRadioGridV6955 .planningTypeCheckV6954{
  width:64px!important;min-width:64px!important;max-width:64px!important;height:40px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;padding:0 7px!important;box-sizing:border-box!important;
  border:1px solid rgba(11,61,110,.18)!important;border-radius:13px!important;
  background:#fff!important;color:#31455c!important;box-shadow:none!important;cursor:pointer!important;
}
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953 input{
  position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important;
}
body.planningAddFormRadioGridV6955 .planningCheckDotV6954{
  width:13px!important;height:13px!important;min-width:13px!important;border-radius:4px!important;
  border:1.6px solid rgba(49,69,92,.55)!important;background:#fff!important;box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953 input:checked + .planningCheckDotV6954{
  border-color:var(--kf-primary)!important;background:var(--kf-primary)!important;box-shadow:inset 0 0 0 3px #fff!important;
}
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953:has(input:checked){
  background:#f3f8ff!important;border-color:rgba(11,61,110,.38)!important;color:var(--kf-primary)!important;
}
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953 span[data-urw-icon],
body.planningAddFormRadioGridV6955 .planningTypeToggleV6953 span[data-urw-icon] svg{
  width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;
}
body.planningAddFormRadioGridV6955 .planningModalFooterV6941{
  grid-column:1 / 3!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:stretch!important;margin:0!important;
}
body.planningAddFormRadioGridV6955 .planningModalFooterV6941 #addPlanBtn{
  width:100%!important;height:40px!important;font-size:.84rem!important;font-weight:700!important;padding:0 12px!important;
}
body.planningAddFormRadioGridV6955 .planningModalHeaderV6941 strong{font-weight:700!important;}
body.planningAddFormRadioGridV6955 .planningModalHeaderV6941 p{font-weight:450!important;}

@media (max-width:1080px){
  body.planningAddFormRadioGridV6955 .planningModalFormV6941{
    grid-template-columns:minmax(78px,1fr) 38px 106px 54px minmax(120px,1.2fr) 62px!important;
    gap:7px!important;
  }
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 select,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 input{font-size:.76rem!important;padding:0 7px!important;}
}
@media (max-width:860px){
  body.planningAddFormRadioGridV6955 .planningModalFormV6941{
    grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr) 60px!important;
    grid-template-rows:auto!important;
    gap:9px!important;
  }
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planCategory{grid-column:1!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 .categoryPlusBtnV36212{grid-column:2!important;grid-row:auto!important;width:44px!important;min-width:44px!important;max-width:44px!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planDate{grid-column:3!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planTime{grid-column:3!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningVenueControls{grid-column:4!important;grid-row:1 / 3!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planOpponent{grid-column:1 / 3!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planManualAddress{grid-column:1 / 3!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningBadgeControls{grid-column:4!important;grid-row:3 / 5!important;}
  body.planningAddFormRadioGridV6955 .planningModalFooterV6941{grid-column:3 / 4!important;grid-row:auto!important;}
}
@media (max-width:640px){
  body.planningAddFormRadioGridV6955 .planningModalFormV6941{
    grid-template-columns:1fr 44px!important;
    gap:9px!important;
  }
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planCategory{grid-column:1!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 .categoryPlusBtnV36212{grid-column:2!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planDate,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planTime,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningVenueControls,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planOpponent,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planManualAddress,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningBadgeControls,
  body.planningAddFormRadioGridV6955 .planningModalFooterV6941{grid-column:1 / -1!important;grid-row:auto!important;}
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningVenueControls,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planningBadgeControls{
    grid-template-columns:1fr 1fr!important;grid-template-rows:40px!important;width:100%!important;max-width:none!important;min-width:0!important;
  }
  body.planningAddFormRadioGridV6955 .planningVenueBtnV6954,
  body.planningAddFormRadioGridV6955 .planningVenueRadioV6955,
  body.planningAddFormRadioGridV6955 .planningTypeToggleV6953,
  body.planningAddFormRadioGridV6955 .planningTypeCheckV6954{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
}

/* =========================================================
   URW V6.9.5.6 — Planning desktop visual + edit modal fix
   Correctifs ciblés : emojis fonctionnels, contrastes, modale modifier.
   ========================================================= */
body.planningDesktopVisualEditV6956 .planningEmojiIconV6956{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:20px!important;
  height:20px!important;
  font-size:17px!important;
  line-height:1!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif!important;
}
body.planningDesktopVisualEditV6956 .planningVenueBtnV6954 svg,
body.planningDesktopVisualEditV6956 .planningTypeToggleV6953 span[data-urw-icon] svg{
  display:none!important;
}
body.planningDesktopVisualEditV6956 .planningVenueBtnV6954,
body.planningDesktopVisualEditV6956 .planningTypeToggleV6953,
body.planningDesktopVisualEditV6956 .planningTypeCheckV6954{
  color:#102338!important;
  background:#fff!important;
  border-color:rgba(15,35,56,.20)!important;
  font-weight:500!important;
}
body.planningDesktopVisualEditV6956 .planningVenueBtnV6954.is-active,
body.planningDesktopVisualEditV6956 .planningTypeToggleV6953:has(input:checked),
body.planningDesktopVisualEditV6956 .planningTypeCheckV6954:has(input:checked){
  background:#f1f7ff!important;
  border-color:rgba(11,61,110,.45)!important;
  color:var(--kf-primary)!important;
  box-shadow:0 5px 12px rgba(11,61,110,.08)!important;
}
body.planningDesktopVisualEditV6956 .planningMatchTypeEmojiV6956{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  font-size:16px!important;
  line-height:1!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  color:inherit!important;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",system-ui,sans-serif!important;
}
body.planningDesktopVisualEditV6956 .planningFbVisualBtnV652,
body.urw-page-planning .planningFbVisualBtnV652{
  background:#ffffff!important;
  color:var(--kf-primary)!important;
  border:1px solid rgba(7,55,99,.22)!important;
  box-shadow:0 8px 18px rgba(7,55,99,.08)!important;
}
body.planningDesktopVisualEditV6956 .planningFbVisualBtnV652 svg,
body.urw-page-planning .planningFbVisualBtnV652 svg{
  color:var(--kf-primary)!important;
  stroke:currentColor!important;
}
body.planningDesktopVisualEditV6956 .planningFbVisualBtnV652:hover{
  background:#f6faff!important;
  color:var(--kf-primary)!important;
}
body.planningDesktopVisualEditV6956 .planningDeleteBtnV6941,
body.planningDesktopVisualEditV6956 .planningAddressHeadV6941 button,
body.planningDesktopVisualEditV6956 .planningEditCloseV6956{
  background:#fff!important;
  color:#102338!important;
  border:1px solid rgba(16,35,56,.16)!important;
}
body.planningDesktopVisualEditV6956 .planningDeleteBtnV6941 svg,
body.planningDesktopVisualEditV6956 .planningAddressHeadV6941 button svg,
body.planningDesktopVisualEditV6956 .planningEditCloseV6956 svg{
  color:#102338!important;
  stroke:currentColor!important;
}
body.planningDesktopVisualEditV6956 .planningAddressActionsV6941 button[data-copy-address]{
  background:#fff!important;
  color:var(--kf-primary)!important;
  border:1px solid rgba(7,55,99,.20)!important;
  font-weight:800!important;
}
body.planningDesktopVisualEditV6956 .planningAddressActionsV6941 button[data-copy-address] svg{
  color:var(--kf-primary)!important;
  stroke:currentColor!important;
}

/* Modale dédiée : Modifier ce match */
.planningEditModalV6956{
  position:fixed!important;
  inset:0!important;
  z-index:9999!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
}
.planningEditModalV6956.is-open{display:flex!important;}
.planningEditBackdropV6956{
  position:absolute!important;
  inset:0!important;
  background:rgba(8,22,38,.46)!important;
  backdrop-filter:blur(4px)!important;
}
.planningEditCardV6956{
  position:relative!important;
  z-index:1!important;
  width:min(760px,calc(100vw - 36px))!important;
  max-height:calc(100vh - 48px)!important;
  overflow:auto!important;
  background:#fff!important;
  border:1px solid rgba(7,55,99,.12)!important;
  border-radius:24px!important;
  box-shadow:0 28px 80px rgba(8,22,38,.22)!important;
  padding:20px!important;
}
.planningEditHeadV6956{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:16px!important;
}
.planningEditHeadV6956 strong{
  display:block!important;
  font-size:1.08rem!important;
  line-height:1.15!important;
  color:#102338!important;
  font-weight:850!important;
}
.planningEditHeadV6956 p{
  margin:4px 0 0!important;
  color:#64748b!important;
  font-size:.88rem!important;
  font-weight:500!important;
}
.planningEditCloseV6956{
  width:38px!important;
  height:38px!important;
  border-radius:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}
.planningEditCloseV6956 svg{width:18px!important;height:18px!important;}
.planningEditFormV6956{
  display:grid!important;
  grid-template-columns:minmax(130px,1fr) 120px 96px 118px minmax(170px,1.25fr)!important;
  gap:10px!important;
  align-items:center!important;
}
.planningEditFormV6956 select,
.planningEditFormV6956 input{
  height:42px!important;
  min-width:0!important;
  width:100%!important;
  border:1px solid rgba(15,35,56,.16)!important;
  border-radius:14px!important;
  padding:0 12px!important;
  color:#102338!important;
  background:#fff!important;
  font-weight:540!important;
  font-size:.86rem!important;
  box-sizing:border-box!important;
}
.planningEditVenueV6956,
.planningEditTypesV6956{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
}
.planningEditVenueV6956 button,
.planningEditTypesV6956 label{
  height:42px!important;
  min-width:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(15,35,56,.18)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#102338!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.planningEditVenueV6956 button.is-active,
.planningEditTypesV6956 label:has(input:checked){
  background:#f1f7ff!important;
  border-color:rgba(7,55,99,.42)!important;
  color:var(--kf-primary)!important;
}
.planningEditTypesV6956 input{
  position:absolute!important;
  opacity:0!important;
  width:1px!important;
  height:1px!important;
  pointer-events:none!important;
}
.planningEditActionsV6956{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:18px!important;
}
.planningEditActionsV6956 button{
  min-height:42px!important;
  border-radius:14px!important;
  padding:0 16px!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.planningEditCancelV6956{
  background:#fff!important;
  color:var(--kf-primary)!important;
  border:1px solid rgba(7,55,99,.22)!important;
}
.planningEditSaveV6956{
  background:var(--kf-primary)!important;
  color:#fff!important;
  border:1px solid var(--kf-primary)!important;
}
@media(max-width:760px){
  .planningEditCardV6956{padding:16px!important;border-radius:20px!important;}
  .planningEditFormV6956{grid-template-columns:1fr 1fr!important;}
  .planningEditFormV6956 [data-edit-field="manualAddress"],
  .planningEditFormV6956 [data-edit-field="opponentName"],
  .planningEditVenueV6956,
  .planningEditTypesV6956{grid-column:1 / -1!important;}
  .planningEditActionsV6956{flex-direction:column-reverse!important;}
  .planningEditActionsV6956 button{width:100%!important;}
}

/* =========================================================
   URW V6.9.6.9 - PLANNING ACTIONS, MODALS & REQUESTS FIX
   Correctifs ciblés : vrai vert WhatsApp, X visibles, états cochés,
   pop-up adresse et demandes coachs.
   ========================================================= */
body.urw-page-planning .planningWhatsappBtnV6941,
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941{
  background:linear-gradient(135deg,#25D366 0%,#128C7E 100%)!important;
  color:#fff!important;
  border:1px solid rgba(18,140,126,.42)!important;
  box-shadow:0 12px 26px rgba(18,140,126,.20)!important;
}
body.urw-page-planning .planningWhatsappBtnV6941:hover,
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941:hover{
  filter:brightness(.98)!important;
  box-shadow:0 14px 30px rgba(18,140,126,.24)!important;
}
body.urw-page-planning .planningWhatsappBtnV6941 svg,
body.planningPopupFluidRowsV6941 .planningWhatsappBtnV6941 svg{
  color:#fff!important;
  fill:currentColor!important;
  stroke:none!important;
}
body.urw-page-planning .planningEditCloseV6956,
body.planningDesktopVisualEditV6956 .planningEditCloseV6956,
body.urw-page-planning .planningAddressHeadV6941 button,
body.planningDesktopVisualEditV6956 .planningAddressHeadV6941 button,
body.urw-page-planning .planningRequestsCloseV6969{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#102338!important;
  border:1px solid rgba(16,35,56,.18)!important;
  box-shadow:0 10px 24px rgba(8,22,38,.10)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:1!important;
  cursor:pointer!important;
}
body.urw-page-planning .planningEditCloseV6956 svg,
body.planningDesktopVisualEditV6956 .planningEditCloseV6956 svg,
body.urw-page-planning .planningAddressHeadV6941 button svg,
body.planningDesktopVisualEditV6956 .planningAddressHeadV6941 button svg,
body.urw-page-planning .planningRequestsCloseV6969 svg{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  color:#102338!important;
  stroke:currentColor!important;
  opacity:1!important;
}
body.urw-page-planning .planningEditVenueV6956 button.is-active .planningRadioDotV6955,
body.planningDesktopVisualEditV6956 .planningEditVenueV6956 button.is-active .planningRadioDotV6955{
  border-color:var(--kf-primary)!important;
  background:var(--kf-primary)!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}
body.urw-page-planning .planningEditTypesV6956 label input:checked + .planningCheckDotV6954,
body.planningDesktopVisualEditV6956 .planningEditTypesV6956 label input:checked + .planningCheckDotV6954{
  border-color:var(--kf-primary)!important;
  background:var(--kf-primary)!important;
  box-shadow:inset 0 0 0 3px #fff!important;
}
body.urw-page-planning .planningEditTypesV6956 .planningCheckDotV6954,
body.planningDesktopVisualEditV6956 .planningEditTypesV6956 .planningCheckDotV6954,
body.urw-page-planning .planningEditVenueV6956 .planningRadioDotV6955,
body.planningDesktopVisualEditV6956 .planningEditVenueV6956 .planningRadioDotV6955{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  display:inline-flex!important;
  border:1.8px solid rgba(49,69,92,.55)!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.urw-page-planning .planningEditTypesV6956 .planningCheckDotV6954,
body.planningDesktopVisualEditV6956 .planningEditTypesV6956 .planningCheckDotV6954{
  border-radius:4px!important;
}
body.urw-page-planning .planningEditVenueV6956 .planningRadioDotV6955,
body.planningDesktopVisualEditV6956 .planningEditVenueV6956 .planningRadioDotV6955{
  border-radius:999px!important;
}
body.urw-page-planning .categoryOverlayV36212 .cancelV36212,
body.urw-page-planning .categoryActionsV36212 .cancelV36212,
.categoryOverlayV36212 .cancelV36212{
  background:#eef2f6!important;
  color:var(--kf-primary)!important;
  border:1px solid rgba(7,55,99,.20)!important;
  text-shadow:none!important;
}
.planningAddressPanelV6941{
  position:fixed!important;
  inset:0!important;
  z-index:10000!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  background:rgba(8,22,38,.46)!important;
  backdrop-filter:blur(4px)!important;
}
.planningAddressPanelV6941.is-open{display:flex!important;}
.planningAddressCardV6941{
  width:min(560px,calc(100vw - 36px))!important;
  background:#fff!important;
  border-radius:22px!important;
  border:1px solid rgba(7,55,99,.12)!important;
  box-shadow:0 28px 80px rgba(8,22,38,.22)!important;
  padding:20px!important;
}
.planningAddressHeadV6941{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.planningAddressHeadV6941 strong{
  font-size:1.04rem!important;
  color:#102338!important;
  font-weight:850!important;
}
#planningAddressTextV6941{
  width:100%!important;
  min-height:110px!important;
  resize:vertical!important;
  border:1px solid rgba(15,35,56,.16)!important;
  border-radius:16px!important;
  padding:12px!important;
  color:#102338!important;
  background:#fff!important;
  box-sizing:border-box!important;
  font:600 .92rem/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.planningAddressActionsV6941{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:14px!important;
}
.planningAddressActionsV6941 button{
  min-height:40px!important;
  border-radius:14px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  cursor:pointer!important;
  font-weight:850!important;
}
.planningAddressActionsV6941 button[data-save-address="1"]{
  background:var(--kf-primary)!important;
  color:#fff!important;
  border:1px solid var(--kf-primary)!important;
}
.planningRequestsModalV6969{
  position:fixed!important;
  inset:0!important;
  z-index:10001!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
}
.planningRequestsModalV6969.is-open{display:flex!important;}
.planningRequestsBackdropV6969{
  position:absolute!important;
  inset:0!important;
  background:rgba(8,22,38,.46)!important;
  backdrop-filter:blur(4px)!important;
}
.planningRequestsCardV6969{
  position:relative!important;
  z-index:1!important;
  width:min(760px,calc(100vw - 36px))!important;
  max-height:calc(100vh - 48px)!important;
  overflow:auto!important;
  background:#fff!important;
  border-radius:22px!important;
  border:1px solid rgba(7,55,99,.12)!important;
  box-shadow:0 28px 80px rgba(8,22,38,.22)!important;
  padding:20px!important;
}
.planningRequestsHeadV6969{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:16px!important;
}
.planningRequestsHeadV6969 strong{display:block!important;font-size:1.08rem!important;color:#102338!important;font-weight:850!important;}
.planningRequestsHeadV6969 p{margin:4px 0 0!important;color:#64748b!important;font-size:.9rem!important;}
.planningRequestsListV6969{display:grid!important;gap:10px!important;}
.planningRequestsListV6969 h3{margin:12px 0 0!important;color:#102338!important;font-size:.95rem!important;}
.planningRequestItemV6969{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:12px!important;
  border:1px solid rgba(7,55,99,.12)!important;
  background:#f8fbff!important;
  border-radius:16px!important;
  padding:12px!important;
}
.planningRequestMainV6969 strong{display:block!important;color:#102338!important;font-size:.92rem!important;}
.planningRequestMainV6969 p{margin:4px 0 0!important;color:#52667d!important;font-size:.84rem!important;}
.planningRequestStatusV6969{border-radius:999px!important;padding:6px 10px!important;font-size:.74rem!important;font-weight:850!important;background:#eef2f6!important;color:#334155!important;white-space:nowrap!important;}
.planningRequestStatusV6969.is-approved{background:#dcfce7!important;color:#166534!important;}
.planningRequestStatusV6969.is-rejected{background:#fee2e2!important;color:#991b1b!important;}
.planningRequestActionsV6969{display:inline-flex!important;align-items:center!important;gap:8px!important;}
.planningRequestActionsV6969 button{height:36px!important;border-radius:12px!important;padding:0 12px!important;font-weight:850!important;cursor:pointer!important;}
.planningRequestActionsV6969 button[data-approve-request]{background:var(--kf-primary)!important;color:#fff!important;border:1px solid var(--kf-primary)!important;}
.planningRequestActionsV6969 button[data-reject-request]{background:#fff!important;color:#102338!important;border:1px solid rgba(16,35,56,.18)!important;}
.planningRequestsEmptyV6969{margin:0!important;padding:14px!important;border-radius:14px!important;background:#f8fbff!important;color:#52667d!important;}

/* =========================================================
   URW V6.9.7.1 - PLANNING COACH REQUESTS WORKFLOW
   Demandes coach lisibles, approbation/refus.
   LOT 11.4 (3-C) : cloche admin #planningFriendlyRequestsBellV6971 retirée
   (redondante avec la section "Demandes de matchs amicaux" / bouton
   "Voir les demandes" — demande Dan). Règles CSS dédiées supprimées avec elle.
   ========================================================= */
body.urw-page-planning .planningRequestItemV6971,
body.urw-page-planning .planningNotificationItemV6971{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  background:#f8fbff!important;
}
body.urw-page-planning .planningRequestTopV6971{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin-bottom:4px!important;
}
body.urw-page-planning .planningRequestTopV6971 strong{
  display:inline-flex!important;
  color:var(--kf-primary)!important;
  font-size:.92rem!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
}
body.urw-page-planning .planningRequestTopV6971 span{
  display:inline-flex!important;
  min-height:24px!important;
  align-items:center!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#eef4fb!important;
  color:#102338!important;
  font-size:.78rem!important;
  font-weight:850!important;
}
body.urw-page-planning .planningRequestAddressV6971{
  color:#64748b!important;
  font-size:.8rem!important;
}
body.urw-page-planning .planningRequestStatusV6969.is-pending{
  background:#eef2f6!important;
  color:#334155!important;
}
body.urw-page-planning .planningRequestApproveV6971,
body.urw-page-planning .planningRequestActionsV6969 button[data-approve-request],
body.urw-page-planning .planningRequestActionsV6969 .planningRequestApproveV6971{
  background:var(--kf-primary)!important;
  color:#fff!important;
  border:1px solid var(--kf-primary)!important;
}
body.urw-page-planning .planningRequestRejectV6971,
body.urw-page-planning .planningRequestActionsV6969 button[data-reject-request],
body.urw-page-planning .planningRequestActionsV6969 .planningRequestRejectV6971{
  background:#fff!important;
  color:#102338!important;
  border:1px solid rgba(16,35,56,.18)!important;
}
@media(max-width:760px){
  body.urw-page-planning .planningRequestItemV6971,
  body.urw-page-planning .planningNotificationItemV6971{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  body.urw-page-planning .planningRequestActionsV6969{
    justify-content:flex-start!important;
  }
}

/* =========================================================
   URW V6.9.7.2 - PLANNING REQUESTS STATUS + BELL BADGE FIX
   LOT 11.4 (3-C) : bloc retiré avec la cloche admin (voir V6.9.7.1 ci-dessus).
   ========================================================= */


/* =========================================================
   URW V6.9.7.6 — PLANNING READER STRICT VISIBILITY
   Reader = consultation uniquement. Masque les outils admin/coach.
   ========================================================= */
body.planningReaderRoleV6976 #addMatchSection,
body.planningReaderRoleV6976 .planningAddPanelV653,
body.planningReaderRoleV6976 .planningFriendlyRequestsV653,
body.planningReaderRoleV6976 #planningToggleAddMatchBtnV653{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}


/* =========================================================
   URW V6.9.8.1 - PLANNING MOBILE SPORT ROW UX
   Source of truth for Planning mobile match rows only.
   Desktop remains controlled by the V6.9.6.x canonical desktop block.
   Goal: compact two-line mobile layout: meta/actions + match.
   ========================================================= */
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td{
    padding:16px 12px 8px!important;
  }
  body.planningPopupFluidRowsV6941 .planningDateGroupRowV653 td > span{
    font-size:1.02rem!important;
    line-height:1.1!important;
  }

  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "meta actions"
      "match match"!important;
    align-items:center!important;
    gap:6px 8px!important;
    min-height:0!important;
    padding:10px 12px!important;
    overflow:hidden!important;
  }
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941 td{
    padding:0!important;
    min-width:0!important;
    width:auto!important;
  }

  body.planningPopupFluidRowsV6941 .planningMetaCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMetaCellV6941{
    grid-area:meta!important;
    grid-column:auto!important;
    grid-row:auto!important;
    display:grid!important;
    grid-template-columns:minmax(58px,max-content) 18px minmax(46px,max-content)!important;
    align-items:center!important;
    justify-content:start!important;
    column-gap:7px!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:0!important;
    white-space:nowrap!important;
  }
  body.planningPopupFluidRowsV6941 .planningMetaCellV6941 .planningCategoryBadgeV653,
  body.planningPopupFluidRowsV6941 .planningCategoryBadgeV653{
    width:auto!important;
    min-width:58px!important;
    max-width:86px!important;
    height:22px!important;
    padding:0 9px!important;
    font-size:.72rem!important;
    font-weight:900!important;
    letter-spacing:.01em!important;
  }
  body.planningPopupFluidRowsV6941 .planningTimeBadgeV6941{
    width:auto!important;
    min-width:46px!important;
    max-width:56px!important;
    height:22px!important;
    padding:0 4px!important;
    font-size:.76rem!important;
    font-weight:900!important;
  }
  body.planningPopupFluidRowsV6941 .planningMatchTypeSlotV6947,
  body.planningPopupFluidRowsV6941 .planningMatchTypeIconV6941,
  body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6947,
  body.planningPopupFluidRowsV6941 .planningMatchTypeEmptyV6941{
    width:18px!important;
    min-width:18px!important;
    max-width:18px!important;
    height:22px!important;
    min-height:22px!important;
    max-height:22px!important;
  }

  body.planningPopupFluidRowsV6941 .planningActionCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningActionCellV6941{
    grid-area:actions!important;
    grid-column:auto!important;
    grid-row:auto!important;
    justify-self:end!important;
    justify-content:flex-end!important;
    align-items:center!important;
    width:auto!important;
    min-width:max-content!important;
    padding:0!important;
    white-space:nowrap!important;
  }
  body.planningPopupFluidRowsV6941 .planningActionCellV6941 .planningIconActionV6941,
  body.planningPopupFluidRowsV6941 .planningIconActionV6941{
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    border-radius:9px!important;
    margin:0!important;
    box-shadow:none!important;
  }
  body.planningPopupFluidRowsV6941 .planningActionCellV6941 .planningIconActionV6941 + .planningIconActionV6941{
    margin-left:4px!important;
  }
  body.planningPopupFluidRowsV6941 .planningIconActionV6941 > svg,
  body.planningPopupFluidRowsV6941 .planningIconActionV6941 svg{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    min-height:15px!important;
    stroke-width:2.55!important;
  }

  body.planningPopupFluidRowsV6941 .planningMatchMainCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMatchMainCellV6941{
    grid-area:match!important;
    grid-column:1 / -1!important;
    grid-row:auto!important;
    display:block!important;
    width:100%!important;
    padding:3px 0 0!important;
  }
  body.planningPopupFluidRowsV6941 .planningMatchCenterV6941{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.planningPopupFluidRowsV6941 .planningTeamInlineV6941{
    gap:6px!important;
    min-width:0!important;
    font-size:.86rem!important;
    font-weight:850!important;
    line-height:1.08!important;
  }
  body.planningPopupFluidRowsV6941 .planningTeamInlineV6941 .planningTeamNameV653,
  body.planningPopupFluidRowsV6941 .planningTeamNameV653{
    font-size:.86rem!important;
    font-weight:850!important;
    line-height:1.08!important;
  }
  body.planningPopupFluidRowsV6941 .planningClubLogoV653,
  body.planningPopupFluidRowsV6941 .planningClubLogoFallbackV653{
    flex:0 0 26px!important;
    width:26px!important;
    min-width:26px!important;
    height:26px!important;
    min-height:26px!important;
  }
  body.planningPopupFluidRowsV6941 .planningVsBadgeV6941{
    min-width:30px!important;
    height:22px!important;
    padding:0 7px!important;
    font-size:.68rem!important;
    font-weight:950!important;
  }
}

/* =========================================================
   URW V6.9.8.2 - PLANNING MOBILE ADDRESS TOP ACTION
   Mobile-only refinement: keep actions, especially address, in the
   top-right meta row to preserve a compact two-line sports layout.
   Desktop remains untouched.
   ========================================================= */
@media (max-width:760px){
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941{
    position:relative!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "meta"
      "match"!important;
    gap:5px!important;
    padding:10px 12px!important;
  }

  body.planningPopupFluidRowsV6941 .planningMetaCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMetaCellV6941{
    grid-area:meta!important;
    max-width:calc(100% - 42px)!important;
    padding-right:6px!important;
  }

  body.planningPopupFluidRowsV6941 .planningFluidRowV6941:has(.planningConvoBtnV6941) .planningMetaCellV6941{
    max-width:calc(100% - 74px)!important;
  }

  body.planningPopupFluidRowsV6941 .planningFluidRowV6941:has(.planningEditBtnV6951) .planningMetaCellV6941,
  body.planningPopupFluidRowsV6941 .planningFluidRowV6941:has(.planningDeleteBtnV6941) .planningMetaCellV6941{
    max-width:calc(100% - 104px)!important;
  }

  body.planningPopupFluidRowsV6941 .planningActionCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningActionCellV6941{
    position:absolute!important;
    top:10px!important;
    right:12px!important;
    grid-area:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    z-index:2!important;
  }

  body.planningPopupFluidRowsV6941 .planningActionCellV6941 .planningIconActionV6941,
  body.planningPopupFluidRowsV6941 .planningIconActionV6941{
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
  }

  body.planningPopupFluidRowsV6941 .planningActionCellV6941 .planningIconActionV6941 + .planningIconActionV6941{
    margin-left:0!important;
  }

  body.planningPopupFluidRowsV6941 .planningMatchMainCellV6941,
  body.planningPopupFluidRowsV6941.planningReadModeV6511 .planningMatchMainCellV6941{
    grid-area:match!important;
    padding-top:2px!important;
  }
}

/* =========================================================
   PLANNING HEADER FACEBOOK ACTION — ROLE + MOBILE COMPACT V6.9.8.3
   Admin only. Compact on mobile to avoid horizontal overflow.
   ========================================================= */
body.urw-page-planning:not(.planningAdminRoleV6983) .planningFbVisualBtnV652,
body.urw-page-planning.planningCoachModeV6511 .planningFbVisualBtnV652,
body.urw-page-planning.planningReaderRoleV6976 .planningFbVisualBtnV652{
  display:none!important;
}

@media (max-width:760px){
  body.urw-page-planning.planningAdminRoleV6983 .urw-page-header{
    gap:10px!important;
  }
  body.urw-page-planning.planningAdminRoleV6983 .planningHeaderActionsV653,
  body.urw-page-planning.planningAdminRoleV6983 .urw-planning-actions693{
    flex:0 0 auto!important;
    width:auto!important;
    margin-left:auto!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
  }
  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652{
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border-radius:16px!important;
    font-size:0!important;
    line-height:0!important;
    gap:0!important;
    overflow:hidden!important;
    flex:0 0 44px!important;
  }
  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652 span,
  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652 svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    font-size:18px!important;
    line-height:1!important;
    opacity:1!important;
  }
}

/* V7.5.6 - fallback logo locally uploadable (Planning) */
.planningLogoCanUploadV756{cursor:pointer;outline:none;position:relative;}
.planningLogoCanUploadV756:hover,.planningLogoCanUploadV756:focus-visible{box-shadow:0 0 0 3px rgba(11,61,110,.14);transform:translateY(-1px);}
.planningLogoCanUploadV756::after{content:"+";position:absolute;right:-4px;bottom:-5px;width:13px;height:13px;border-radius:999px;background:#061b46;color:#fff;font-size:10px;line-height:13px;text-align:center;font-weight:900;border:1px solid #fff;}


/* LOT 5 — 5.b : wrappers .planningDateTimeFieldV7101 / .planningDateFieldV7101 /
   .planningTimeFieldV7101 SUPPRIMES (75 lignes de CSS mort).
   Verifie avant suppression : ZERO occurrence dans les 32 HTML et dans tout le
   JS. Ces selecteurs ne correspondaient a aucun element du DOM.
   Les champs reellement utilises sont #planDate / #planTime (cf. bloc 5.a). */

/* =========================================================
   URW V7.10.58N - Planning visual button alignment fix
   Scope: layout/readability only for "Créer visuel" in Planning.
   Does not change generator logic or planning data.
   ========================================================= */
@media (min-width:761px){
  body.urw-page-planning .urw-page-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }

  body.urw-page-planning .planningHeaderActionsV653,
  body.urw-page-planning .urw-planning-actions693{
    margin-left:auto!important;
    justify-content:flex-end!important;
    width:auto!important;
    flex:0 0 auto!important;
  }
}

@media (max-width:760px){
  body.urw-page-planning.planningAdminRoleV6983 .urw-page-header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  body.urw-page-planning.planningAdminRoleV6983 .planningHeaderActionsV653,
  body.urw-page-planning.planningAdminRoleV6983 .urw-planning-actions693{
    width:100%!important;
    margin-left:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    justify-content:stretch!important;
    align-items:stretch!important;
    flex:0 0 auto!important;
  }

  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:44px!important;
    padding:0 14px!important;
    border-radius:14px!important;
    font-size:.82rem!important;
    line-height:1!important;
    gap:8px!important;
    overflow:visible!important;
    flex:auto!important;
  }

  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652 span{
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    font-size:.82rem!important;
    line-height:1!important;
    opacity:1!important;
    white-space:nowrap!important;
  }

  body.urw-page-planning.planningAdminRoleV6983 .planningFbVisualBtnV652 svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }
}


/* THEME COLORS BRIDGE V5 — Planning bouton + / Ajouter un match */
.planningPrimaryActionV653,
body.planningPopupFluidRowsV6941 .planningPrimaryActionV653{
  background:linear-gradient(135deg,var(--kf-primary,var(--planning-primary,#0b3d6e)),var(--kf-primary-700,color-mix(in srgb,var(--kf-primary,#0b3d6e) 82%,#000)))!important;
  border-color:color-mix(in srgb, var(--kf-primary,#0b3d6e) 38%, #fff)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* fin V5 Planning */

/* =========================================================
   LOT 4 (4.3) — Repères visuels date/heure, formulaire
   "Ajouter un match" sur mobile.
   ---------------------------------------------------------
   Contexte : sous 640px (L3169-3175), #planDate et #planTime passent en
   grid-column:1/-1 → pleine largeur, un par ligne. Un <input type="date|time">
   vide sur iOS n'affiche NI placeholder (impossible sur ces types) NI icône
   (aucun indicateur natif sur mobile) : les 2 champs paraissent vides.

   Choix : ::before est impossible sur un input (élément remplacé) et ces
   champs sont enfants DIRECTS de la grille (positionnés par #id) — les
   envelopper dans un <label> casserait le layout. Solution sans toucher au
   DOM : SVG data-URI contenant l'icône ET le mot ("Date" / "Heure"), posé en
   background à gauche. Le mot est nécessaire : une icône seule ne distingue
   pas les deux champs, or ils sont désormais empilés et tous deux vides.
   Reprend l'aria-label déjà présent dans le HTML → cohérent pour le lecteur
   d'écran. La largeur pleine (grid-column:1/-1) laisse la place : aucun
   risque de troncature, contrairement au cas compact PC (106px).
   Le repère disparaît naturellement dès que l'utilisateur saisit une valeur ?
   NON : il reste affiché à gauche, la valeur s'affiche après le padding.

   Spécificité alignée sur celle de la feuille (body.<class> .<form> #<id>)
   + !important : indispensable, planning.css impose padding:0 7px!important
   (L3144) et est chargée APRÈS style.css — d'où l'échec des tentatives
   précédentes posées dans style.css.
   Aucun appearance:none : le picker natif et la zone de tap restent intacts.
   ========================================================= */
@media (max-width:640px){
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planDate,
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planTime{
    background-repeat:no-repeat!important;
    background-position:left 10px center!important;
    background-size:auto 19px!important;
    padding:0 10px 0 100px!important;
    /* LOT 5 — 5.a : correction du débordement à droite (régression t30d).
       CAUSE RACINE CONFIRMÉE t36 (sonde diag-live, mesures device Dan) :
       getComputedStyle(#planDate).boxSizing = 'content-box' sur le device réel,
       alors qu'AUCUNE règle du projet ne pose content-box sur un input (recherche
       exhaustive répétée 2x sur style.css/planning.css/urw-functional-core.css/
       urw-common-shell : confirmé absent). box-sizing:border-box global existe
       bien (style.css L7014, input,select,textarea,button,...) mais Safari
       applique sa PROPRE feuille user-agent aux widgets natifs input[type=date]
       et input[type=time], qui peut prévaloir sur la déclaration d'auteur pour
       la géométrie du contrôle interne. Conséquence : width:100% (posé t33) se
       calcule en content-box -> le padding-left:100px vient s'AJOUTER par-dessus
       les 100%, au lieu d'être inclus dedans. Colonne mesurée 265px, largeur
       réelle observée 430px : l'écart correspond exactement au padding ajouté
       hors-boîte (110px) plus l'excédent de grid-area (1/-1 = 265+9+44=318,
       318+110=428 ≈ 430 mesuré).
       CORRECTIF : box-sizing:border-box!important posé explicitement sur CES
       DEUX SÉLECTEURS PRÉCIS (pas une règle globale supplémentaire : la globale
       existe déjà et ne suffit pas ici) pour forcer l'inclusion du padding dans
       les 100%. N'utilise PAS -webkit-appearance:none (interdit par le Lot 4 :
       casserait le picker natif iOS) : box-sizing seul suffit à corriger la
       géométrie sans toucher au rendu du widget. */
    box-sizing:border-box!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    /* LOT 5 — 5.a : historique.
       t36 : border-box a réglé le débordement latéral (content-box était la
       cause, confirmé par mesure device).
       t37 : tentative display:flex + align-items:center pour centrer
       verticalement le texte de la valeur. RETIRÉ EN t38 — capture device
       (FullSizeRender.jpeg, zoom) : chaque champ affichait sa propre boîte
       visuelle pleine largeur avec bordure/séparateur, cassant l'intégration
       dans la carte. Cause : display:flex sur un input[type=date]/[type=time]
       natif lui fait perdre son rendu de widget intégré (le "shadow DOM" du
       picker) et le fait re-rendre comme un conteneur générique — la boîte
       flex elle-même devient visible. Un anti-pattern connu sur ces types de
       champ : NE JAMAIS poser display:flex/grid directement sur l'input
       lui-même pour ces types, seulement sur un wrapper autour de lui.
       L'alignement vertical du texte reste un reliquat cosmétique mineur non
       résolu — index secondaire à côté du débordement (résolu) et du rendu du
       widget (désormais intact). Ne pas retenter display:flex ici sans
       d'abord confirmer sur capture device qu'aucune boîte parasite n'apparaît. */
  }
  /* Le conteneur de grille doit lui aussi pouvoir rétrécir, sinon il propage sa
     largeur min-content à ses enfants et le débordement réapparaît au niveau du
     formulaire (et non plus du champ). */
  body.planningAddFormRadioGridV6955 .planningModalFormV6941{
    min-width:0!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planDate{
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='20' viewBox='0 0 74 20'%3E%3Cg fill='none' stroke='%230b3d6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.9' y='3.4' width='15.2' height='14.6' rx='2'/%3E%3Cpath d='M13 1.6v3.6M6 1.6v3.6M1.9 8.4h15.2'/%3E%3C/g%3E%3Ctext x='24' y='14.6' font-family='-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif' font-size='12.5' font-weight='600' fill='%236b7f96'%3EDate%3C/text%3E%3C/svg%3E")!important;
  }
  body.planningAddFormRadioGridV6955 .planningModalFormV6941 #planTime{
    background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='20' viewBox='0 0 80 20'%3E%3Cg fill='none' stroke='%230b3d6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9.5' cy='10' r='7.6'/%3E%3Cpath d='M9.5 5.6V10l2.5 1.7'/%3E%3C/g%3E%3Ctext x='24' y='14.6' font-family='-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif' font-size='12.5' font-weight='600' fill='%236b7f96'%3EHeure%3C/text%3E%3C/svg%3E")!important;
  }
}

/* t95o/§4.1 — Menu de gestion d'un logo posé (Remplacer / Supprimer).
   Porté depuis assets/css/scores.css (.scoreLogoManageMenuV756), qui n'est chargé
   que sur scores.html. Classes identiques pour rester JUMEAU du markup planning.js.
   Variables --scores-* remplacées par des littéraux (absentes hors scores.html). */
.scoreLogoManageMenuV756{
  position:fixed;z-index:1000;min-width:200px;max-width:min(86vw,280px);
  background:#fff;border:1px solid rgba(16,35,56,.12);border-radius:14px;
  box-shadow:0 14px 40px rgba(16,35,56,.22);padding:6px;
  display:flex;flex-direction:column;gap:2px;
}
.scoreLogoManageTitleV756{
  font-size:.64rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;
  color:#7488a0;padding:6px 10px 4px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.scoreLogoManageItemV756{
  display:flex;align-items:center;gap:8px;width:100%;text-align:left;
  padding:11px 12px;border:0;border-radius:9px;background:transparent;
  color:#0f2338;font-weight:750;font-size:.9rem;line-height:1.2;
  cursor:pointer;min-height:44px;
}
.scoreLogoManageItemV756:hover{background:rgba(85,183,217,.10);}
.scoreLogoManageItemV756.is-danger{color:#b91c1c;}
.scoreLogoManageItemV756.is-danger:hover{background:rgba(254,242,242,.9);}
