/*
 * Bureau — pile d’overrides V3.32 à V3.64 extraite sans changement de cascade.
 * Première étape de canonicalisation desktop.
 */

/* V3.32 — ajustements bureau demandés. */
@media (min-width:1051px){
  .desktop-week-mode-indicator{justify-self:center!important;align-self:center!important;text-align:center!important}
.desktop-week-mode-indicator.pointage{background:#2f6fb2!important;color:#fff!important;animation:desktopModeBlink 1.25s ease-in-out infinite!important}


}

/* V3.33 — version visible uniquement en mode bureau. */
.desktop-version-badge{display:none}
@media (min-width:1100px){
  .desktop-version-badge{
    display:block;
    position:fixed;
    top:4px;
    right:8px;
    z-index:9999;
    font-size:10px;
    line-height:1;
    font-weight:600;
    color:#8b8177;
    opacity:.9;
    pointer-events:none;
    user-select:none;
  }
}

/* V3.34 — bureau : géométrie participants, alertes icônes et popup. */
@media (min-width:1051px){





.desktop-alert-icon{
    width:22px;height:20px;padding:0;border:0;clip-path:polygon(50% 0,100% 100%,0 100%);
    display:inline-flex;align-items:flex-end;justify-content:center;cursor:pointer;flex:0 0 22px;
  }
  .desktop-alert-icon span{color:#fff;font-size:13px;font-weight:950;line-height:1;padding-bottom:2px}
.desktop-alert-icon.warning{background:#dc8b16}
}
.desktop-alert-popup-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.25);display:none;align-items:center;justify-content:center;z-index:10000;padding:20px;
}
.desktop-alert-popup-overlay.show{display:flex}
.desktop-alert-popup{position:relative;max-width:520px;width:min(520px,92vw);background:#fffdfa;border:1px solid #ded4ca;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.22);padding:24px 52px 24px 24px}
.desktop-alert-popup-message{font-size:15px;line-height:1.45;color:#2d2824;font-weight:650}
.desktop-alert-popup-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:#6f675f}

/* V3.36 — bureau : géométrie participant stabilisée et actions pastel. */
@media (min-width:1100px){

  .desktop-finance-cells{
    align-items:center!important;
  }
  .desktop-finance-cells>.desktop-money-cell{
    inset:auto!important;
    text-align:right!important;
  }


/* Réservations : nombre réellement bleu marine, distinct du bleu de l'icône. */
.desktop-calendar-action.cancel{
    background:var(--red-soft)!important;
    color:var(--red-text)!important;
    border-color:#ddb2b2!important;
  }
}

/* V3.38 — alignement définitif participant / entête financier bureau.
   La ligne participant reprend EXACTEMENT la grille 13 colonnes utilisée par l'entête financier.
   Les colonnes 1 à 7 constituent la zone pré-financière ; CA commence donc toujours en colonne 8. */
@media (min-width:1051px){



.desktop-money-cell{inset:auto!important;min-width:0!important;text-align:right!important;}

}

/* V3.44 — bureau : mnémoniques de mode stabilisés. */
@media (min-width:1051px){
  .desktop-presence-status,.desktop-presence-status.status-reserved{animation:none!important}
}

/* V3.45 — bureau : position fixe des mnémoniques et largeur des actions prestations. */
@media (min-width:1051px){
  .desktop-calendar-header>.desktop-calendar-actions{
    justify-content:flex-end!important;
    gap:10px!important;
  }
  .desktop-calendar-header>.desktop-calendar-actions button{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}

/* V3.46 — bureau : seul le voyant de mode Pointage clignote. */
@media (min-width:1051px){
  .desktop-presence-status,
  .desktop-presence-status.status-reserved,
  .status-reserved{opacity:1!important}
}

/* V3.47 — bureau : géométrie d’entête et prestations stabilisées. */
@media (min-width:1051px){
  .desktop-calendar-header>.desktop-calendar-actions{
    grid-area:action!important;
    min-width:0!important;
    width:100%!important;
    justify-self:stretch!important;
  }

  /* Espace vertical entre deux cartouches réduit de moitié. */
  .desktop-course-node{margin-bottom:7px!important}

  /* Dates : -3 px dans les cartouches et dans la ligne de totalisation hebdomadaire. */
.desktop-week-course-label>strong{font-size:10px!important}
}

/* V3.48 — corrections bureau ciblées. */
@keyframes desktopPointageBlinkV348{50%{}}
@media (min-width:1051px){
  .desktop-week-course-label>strong{font-size:13px!important}
}

/* V3.50 — clignotement Pointage bureau. */
@keyframes desktopPointageBlinkV350{50%{}}

/* V3.53 — corrections exclusivement mobiles : action avant compteurs + centrage BENEFICE. */


@media (min-width:1051px){
  .course-heading-row.calendar-heading.mobile-action-before-counters #courseStateActions{position:static!important;transform:none!important}
}

/* V3.57 — suppression réservation mobile : bouton rond rouge avec X blanc. */


@media (min-width:1051px){.mobile-reservation-delete{display:none!important}}

/* V3.63 — le badge Pointage des entêtes de cours bureau doit toujours clignoter. */
@keyframes desktopPointageBlinkV363{
  0%,100%{}
  50%{opacity:.25}
}

@media (min-width:1051px){
  .desktop-week-mode-indicator.booking{animation:none!important}
}
