/* MyDex 1.0.289 — audit mobile du Skin 2.
   Chargé après chrome, posters et sizing pour éviter les conflits historiques.
   N'affecte ni l'ordinateur (>900px) ni le Skin 1. */
@media (max-width:900px){
 .ec-wrap.ec-app.ec-skin-2,
 .ec-wrap.ec-app.ec-skin-2 .ec-app-shell,
 .ec-wrap.ec-app.ec-skin-2 .ec-main{
   min-width:0!important;max-width:100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-main{
   padding:9px 12px 72px!important;
   overflow-x:clip!important;
 }
 /* Affiches indépendant : éviter les marges héritées de l'ancien plein écran. */
 .ec-wrap.ec-app.ec-skin-2.ec-affiche-standalone .ec-app-shell{width:100%!important;min-width:0!important;}
 .ec-wrap.ec-app.ec-skin-2.ec-affiche-standalone .ec-main{
   margin:0!important;padding:13px 12px 76px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar{
   position:relative!important;z-index:20!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   flex-wrap:nowrap!important;gap:6px!important;
   min-height:48px!important;height:48px!important;
   padding:3px 4px!important;margin:0 0 7px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-search-cta{
   min-width:0!important;max-width:100%!important;flex:1 1 0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-top-account{
   min-width:0!important;flex:0 0 auto!important;
 }
 /* Ne pas écraser la photo en changeant son ratio : recadrer seulement sur mobile. */
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover,
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
   box-sizing:border-box!important;z-index:1!important;
   background-size:cover,cover!important;
   background-position:center center,center center!important;
   background-repeat:no-repeat!important;
   width:100%!important;max-width:100%!important;
   overflow:hidden!important;margin-bottom:9px!important;
   border-radius:11px!important;
 }
 /* Même gabarit pour Galerie, Calendrier, Événements à venir. */
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover{
   height:clamp(195px,27vw,233px)!important;
   min-height:clamp(195px,27vw,233px)!important;
   max-height:none!important;
   margin-top:-55px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy{
   display:flex!important;flex-direction:column!important;
   align-items:flex-start!important;justify-content:flex-end!important;
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;
   height:100%!important;min-height:0!important;
   padding:68px 16px 43px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy h1{
   max-width:100%!important;margin:0 0 4px!important;
   font-size:clamp(25px,3.5vw,34px)!important;
   line-height:1.08!important;overflow-wrap:break-word!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy p{
   max-width:100%!important;font-size:12px!important;line-height:1.3!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover .ec-skin2-cover-total{
   bottom:9px!important;right:11px!important;top:auto!important;
   padding:5px 9px!important;
 }
 /* Couverture Accueil un peu plus haute uniquement à cause des quatre catégories. */
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
   display:flex!important;flex-direction:column!important;
   height:clamp(308px,44vw,348px)!important;
   min-height:clamp(308px,44vw,348px)!important;
   max-height:none!important;margin-top:-55px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
   position:relative!important;flex:1 1 auto!important;
   display:flex!important;justify-content:center!important;align-items:flex-start!important;
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;
   height:auto!important;min-height:0!important;
   padding:62px 17px 113px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1 small{
   font-size:clamp(21px,3.2vw,27px)!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1 span{
   font-size:clamp(40px,7vw,53px)!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero p{
   font-size:12px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{
   position:absolute!important;right:12px!important;top:65px!important;bottom:auto!important;
   z-index:5!important;padding:4px 8px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total strong{font-size:14px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stats.ec-skin2-real-stats{
   position:absolute!important;left:15px!important;right:15px!important;bottom:14px!important;
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   align-items:center!important;justify-content:stretch!important;
   width:calc(100% - 30px)!important;max-width:none!important;
   gap:10px 9px!important;margin:0!important;padding:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-skin2-real-stats .ec-home-stat-card{
   display:flex!important;min-width:0!important;width:100%!important;
   min-height:37px!important;height:auto!important;
   align-items:center!important;gap:8px!important;
   padding:0!important;margin:0!important;
   border:0!important;background:transparent!important;border-radius:0!important;
   box-shadow:none!important;backdrop-filter:none!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-icon{
   flex:0 0 24px!important;width:24px!important;height:24px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-icon svg{
   width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;
   min-height:23px!important;max-height:23px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text{
   flex:1 1 auto!important;min-width:0!important;gap:1px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text strong{
   font-size:clamp(24px,3.6vw,29px)!important;line-height:1!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text small{
   display:block!important;min-width:0!important;font-size:11px!important;
   line-height:1.22!important;font-weight:650!important;
   white-space:normal!important;overflow-wrap:break-word!important;
 }
 /* Les contrôles doivent s'ajuster à la largeur au lieu d'étirer la page. */
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls,
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-calendar-filters,
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions{
   width:100%!important;max-width:100%!important;min-width:0!important;
   display:flex!important;flex-flow:row wrap!important;align-items:center!important;
   gap:7px!important;margin-top:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-size-control{
   min-width:0!important;max-width:100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-size-control input[type="range"]{
   min-width:0!important;max-width:100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-skin2-calendar-filters > label{
   min-width:0!important;max-width:none!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-upcoming-filter-row{
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-upcoming-filters,
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-upcoming-filter-actions{
   min-width:0!important;max-width:100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-s2-upcoming-nav{
   min-width:0!important;max-width:100%!important;
 }
}
@media (max-width:600px){
 .ec-wrap.ec-app.ec-skin-2 .ec-main{padding:7px 9px 66px!important;}
 .ec-wrap.ec-app.ec-skin-2.ec-affiche-standalone .ec-main{
   padding:10px 9px 66px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar{
   min-height:47px!important;height:47px!important;margin-bottom:5px!important;
   gap:4px!important;padding:3px 2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-search-cta{
   min-width:0!important;height:38px!important;min-height:38px!important;
   gap:5px!important;padding:0 8px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-add-cta{
   width:37px!important;min-width:37px!important;max-width:37px!important;
   height:38px!important;min-height:38px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-add-cta > span{
   font-size:25px!important;line-height:1!important;color:#fff!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar :is(.ec-top-profile-button,.ec-top-admin-settings){
   flex-basis:31px!important;width:31px!important;min-width:31px!important;
   max-width:31px!important;height:35px!important;min-height:35px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-top-profile-avatar{
   width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-top-account{gap:1px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover,
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{margin-top:-53px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover{
   height:210px!important;min-height:210px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy{
   padding:66px 13px 40px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy h1{
   font-size:clamp(23px,6.5vw,28px)!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy p{font-size:11px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
   height:clamp(300px,80vw,330px)!important;min-height:clamp(300px,80vw,330px)!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
   padding:66px 13px 109px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{
   top:68px!important;right:9px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stats.ec-skin2-real-stats{
   left:12px!important;right:12px!important;bottom:12px!important;
   width:calc(100% - 24px)!important;gap:8px 6px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text strong{font-size:24px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text small{font-size:10.5px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-skin2-real-stats .ec-home-stat-card{gap:6px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls > .ec-s2-size-control,
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-skin2-calendar-filters > .ec-s2-size-control,
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-s2-size-control{
   order:0!important;flex:1 1 100%!important;width:100%!important;
   justify-content:flex-start!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls > .ec-skin2-toolbar-end{
   flex:1 1 100%!important;order:1!important;
   justify-content:space-between!important;width:100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-s2-cal-nav{
   flex:1 1 100%!important;order:1!important;justify-content:space-between!important;
   width:100%!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-skin2-calendar-filters > label{
   order:2!important;flex:1 1 calc(50% - 5px)!important;
   min-width:0!important;max-width:none!important;
 }
 /* Mode + Ajouter partagent une rangée, avant les filtres. */
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-affiche-view-switch{
   order:1!important;flex:1 1 auto!important;min-width:0!important;
   width:auto!important;max-width:calc(100% - 89px)!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-upcoming-filter-row{
   order:2!important;flex:1 1 100%!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > :is(.ec-upcoming-add-btn,.ec-one-access-trigger){
   order:1!important;flex:0 0 auto!important;min-width:0!important;
   max-width:84px!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-filter-chip,
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-upcoming-category-filter summary{
   min-height:34px!important;padding:6px 10px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-affiche-view-switch{
   padding:3px!important;border-radius:11px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-affiche-view-switch .ec-affiche-view-button{
   min-height:36px!important;padding:0 10px!important;
   border-radius:9px!important;
 }
 /* Affiche autonome : même superposition couverture / recherche que MyDex. */
 .ec-wrap.ec-app.ec-skin-2.ec-affiche-standalone .ec-skin2-cover{margin-top:-53px!important;}
}
@media (max-width:350px){
 .ec-wrap.ec-app.ec-skin-2 .ec-main{padding-left:7px!important;padding-right:7px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-search-cta > span{
   font-size:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-search-cta > span::after{
   content:"Rechercher";font-size:11px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1 span{font-size:40px!important;}
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{
   padding:3px 6px!important;
 }
}


/* 1.0.290 — audit géométrique mobile : zones distinctes, pas de collisions.
   Remplace les contraintes contradictoires de la passe précédente.
   Tous les sélecteurs restent limités au Skin 2 et <=900px. */
@media(max-width:900px){
  /* Couverture Accueil sur DEUX rangées non superposées : identité / compteurs. */
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    align-items:stretch!important;justify-content:stretch!important;
    box-sizing:border-box!important;height:294px!important;min-height:294px!important;
    max-height:none!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
    display:flex!important;grid-column:1!important;grid-row:1!important;
    align-self:stretch!important;justify-content:center!important;align-items:flex-start!important;
    flex:initial!important;box-sizing:border-box!important;
    width:100%!important;height:auto!important;min-height:0!important;
    max-width:100%!important;padding:60px 18px 5px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stats.ec-skin2-real-stats{
    display:grid!important;grid-column:1!important;grid-row:2!important;
    position:relative!important;inset:auto!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:auto!important;height:auto!important;min-height:0!important;
    margin:0 18px 15px!important;padding:0!important;gap:12px!important;
    align-self:end!important;justify-content:stretch!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-skin2-real-stats .ec-home-stat-card{
    min-width:0!important;width:100%!important;min-height:42px!important;
    height:auto!important;align-items:center!important;overflow:visible!important;
    gap:7px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{
    position:absolute!important;top:62px!important;right:14px!important;bottom:auto!important;
    max-width:34%!important;z-index:5!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1{
    max-width:69%!important;margin:0 0 5px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero p{
    max-width:69%!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text strong{
    font-size:clamp(26px,3.2vw,34px)!important;line-height:1.04!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text small{
    font-size:11px!important;line-height:1.22!important;
  }
  /* 3 autres bandeaux : réserver une zone haute aux commandes, basse au compteur. */
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover{
    display:block!important;height:210px!important;min-height:210px!important;
    max-height:210px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy{
    display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:flex-end!important;
    height:100%!important;min-height:0!important;
    padding:65px 16px 47px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy :is(h1,p){
    max-width:100%!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy p{
    overflow-wrap:break-word!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover .ec-skin2-cover-total{
    position:absolute!important;right:12px!important;bottom:10px!important;
    top:auto!important;
  }
  /* Toolbars : layout naturel, pas d'élément flottant sur un second contrôle. */
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls,
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-calendar-filters,
  .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions{
    box-sizing:border-box!important;max-width:100%!important;
    align-items:center!important;align-content:start!important;
    row-gap:7px!important;column-gap:7px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-toolbar-end{
    box-sizing:border-box!important;max-width:100%!important;
    flex-wrap:wrap!important;gap:6px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 :is(.ec-s2-cal-nav,.ec-upcoming-filter-row,.ec-upcoming-filters,.ec-upcoming-filter-actions){
    box-sizing:border-box!important;max-width:100%!important;
  }
}
@media(max-width:600px){
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
    height:327px!important;min-height:327px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
    padding:59px 13px 5px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1{
    max-width:70%!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1 small{
    font-size:clamp(18px,4.8vw,23px)!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1 span{
    font-size:clamp(37px,9vw,48px)!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero p{
    max-width:70%!important;font-size:11px!important;line-height:1.28!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stats.ec-skin2-real-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:auto!important;margin:0 12px 13px!important;gap:10px 7px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text strong{
    font-size:26px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text small{
    font-size:10.5px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{
    top:66px!important;right:10px!important;max-width:31%!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover{
    height:202px!important;min-height:202px!important;max-height:202px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy{
    padding:62px 13px 47px!important;
  }
  /* Taille/tri/filtres occupent leurs propres rangées. */
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls > .ec-skin2-toolbar-end{
    display:flex!important;justify-content:flex-start!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls > .ec-skin2-toolbar-end :is(button,select){
    min-height:32px!important;max-width:100%!important;min-width:0!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-skin2-calendar-filters > label{
    min-width:0!important;max-width:calc(50% - 4px)!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-s2-calendar-ready .ec-skin2-calendar-filters select{
    width:100%!important;max-width:100%!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions > .ec-upcoming-filter-row{
    display:flex!important;flex-wrap:wrap!important;gap:6px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-upcoming-filters,
  .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions .ec-upcoming-filter-actions{
    display:flex!important;flex-wrap:wrap!important;gap:5px!important;
  }
}
@media(max-width:360px){
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero{
    height:342px!important;min-height:342px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero h1{max-width:72%!important}
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-total{top:65px!important;right:7px!important;}
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stat-text strong{font-size:23px!important;}
  .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-stats.ec-skin2-real-stats{
    margin:0 10px 12px!important;gap:9px 6px!important;
  }
  .ec-wrap.ec-app.ec-skin-2 .ec-skin2-cover-copy h1{font-size:23px!important;}
}

/* 1.0.290 correctif mesuré : aligner l'identité sous la recherche, jamais au centre
   d'une rangée qui peut raccourcir à cause des statistiques. */
@media(max-width:900px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
   justify-content:flex-start!important;padding-top:88px!important;
 }
}
@media(max-width:600px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
   justify-content:flex-start!important;padding-top:88px!important;
 }
}
/* Override EXACT du sélecteur 1.0.288 (plus spécifique) : les compteurs
   doivent participer au layout GRID, sans position absolue ni flex hérité. */
@media(max-width:900px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero .ec-home-stats.ec-skin2-real-stats{
   position:relative!important;display:grid!important;
   grid-column:1!important;grid-row:2!important;
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   justify-content:stretch!important;align-content:end!important;
   align-items:center!important;flex-wrap:initial!important;
   left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
   width:auto!important;max-width:none!important;
   min-width:0!important;height:auto!important;
   margin:0 18px 14px!important;padding:0!important;
   column-gap:12px!important;row-gap:8px!important;
 }
}
@media(max-width:600px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero .ec-home-stats.ec-skin2-real-stats{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   margin:0 12px 12px!important;column-gap:7px!important;row-gap:7px!important;
 }
}
@media(max-width:360px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero .ec-home-stats.ec-skin2-real-stats{
   margin:0 10px 10px!important;column-gap:5px!important;row-gap:6px!important;
 }
}
@media(max-width:600px){
 .ec-wrap.ec-app.ec-skin-2 .ec-home-view .ec-home-hero-copy{
   padding-top:55px!important;
 }
}


/* 1.0.291 — correction structurelle du haut de page, SKIN 2 mobile uniquement.
   Le + ne doit plus chevaucher la recherche : 2 lignes distinctes.
   Les 4 couvertures ont le même gabarit, y compris celle de l'accueil. */
@media(max-width:900px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar{
   box-sizing:border-box!important;position:relative!important;top:0!important;z-index:50!important;
   display:grid!important;grid-template-columns:minmax(0,1fr) 40px max-content!important;
   grid-template-rows:38px 38px!important;align-items:center!important;
   justify-items:stretch!important;row-gap:5px!important;column-gap:6px!important;
   width:100%!important;max-width:100%!important;
   height:87px!important;min-height:87px!important;max-height:87px!important;
   padding:2px 6px!important;margin:0 0 6px!important;
   flex-direction:initial!important;flex-wrap:initial!important;
   transform:none!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta{
   grid-column:1/-1!important;grid-row:2!important;
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
   height:38px!important;min-height:38px!important;max-height:38px!important;
   flex:auto!important;margin:0!important;padding:0 11px!important;
   font-size:12px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta>span{
   overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta{
   grid-column:2!important;grid-row:1!important;justify-self:center!important;
   box-sizing:border-box!important;display:grid!important;place-items:center!important;
   flex:none!important;width:38px!important;min-width:38px!important;max-width:38px!important;
   height:38px!important;min-height:38px!important;max-height:38px!important;
   padding:0!important;border-radius:10px!important;font-size:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta>span{
   font-size:25px!important;line-height:1!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-account{
   grid-column:3!important;grid-row:1!important;justify-self:end!important;
   display:flex!important;align-items:center!important;gap:3px!important;
   width:auto!important;max-width:max-content!important;height:38px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar :is(.ec-top-profile-button,.ec-top-admin-settings){
   box-sizing:border-box!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
   height:34px!important;min-height:34px!important;max-height:34px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-unified-menu-button{
   grid-column:1!important;grid-row:1!important;justify-self:start!important;
   width:35px!important;height:35px!important;min-height:35px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-unified-title{display:none!important}
 /* Ajustement : bannière sous l'entête à deux rangées, pas sous les boutons. */
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover,
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero{
   position:relative!important;box-sizing:border-box!important;
   height:228px!important;min-height:228px!important;max-height:228px!important;
   margin:-93px 0 9px!important;
   overflow:hidden!important;border-radius:11px!important;
   background-size:cover,cover!important;
   background-position:center center,center center!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover-copy{
   box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
   justify-content:flex-end!important;align-items:flex-start!important;
   height:100%!important;min-height:0!important;
   padding:98px 14px 31px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover-copy h1{
   font-size:clamp(23px,5.9vw,30px)!important;line-height:1.08!important;
   margin:0 0 3px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover-copy p{
   font-size:11px!important;line-height:1.25!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover .ec-skin2-cover-total{
   right:10px!important;bottom:8px!important;top:auto!important;
   padding:4px 8px!important;
 }
 /* Même hauteur de couverture pour l'Accueil et les autres pages.
    4 chiffres sur une seule ligne en bas afin d'éviter 2 rangées lourdes. */
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero{
   display:flex!important;flex-direction:column!important;
   align-items:stretch!important;justify-content:space-between!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero-copy{
   position:relative!important;z-index:2!important;
   box-sizing:border-box!important;flex:1 1 auto!important;
   width:100%!important;min-height:0!important;height:auto!important;
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   align-items:flex-start!important;
   padding:87px 13px 3px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero h1 small{font-size:19px!important;line-height:1.05!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero h1 span{font-size:39px!important;line-height:1!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero p{font-size:10.5px!important;line-height:1.2!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero-total{
   position:absolute!important;z-index:4!important;top:91px!important;right:9px!important;bottom:auto!important;
   padding:4px 7px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero-total strong{font-size:13px!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero .ec-home-stats.ec-skin2-real-stats{
   position:relative!important;z-index:3!important;
   display:grid!important;flex:0 0 auto!important;
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   width:auto!important;max-width:none!important;min-width:0!important;
   left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
   margin:0 11px 10px!important;padding:0!important;
   gap:5px!important;align-items:start!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-skin2-real-stats .ec-home-stat-card{
   min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;
   display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;
   grid-template-rows:auto!important;align-items:center!important;gap:4px!important;
   padding:0!important;margin:0!important;border:0!important;background:transparent!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-icon{
   width:17px!important;height:19px!important;min-width:17px!important;min-height:19px!important;
   flex:none!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-icon svg{
   width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
   max-width:16px!important;max-height:16px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-text{
   min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-text strong{
   font-size:clamp(21px,3.7vw,25px)!important;line-height:1!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-text small{
   display:block!important;overflow-wrap:anywhere!important;word-break:normal!important;
   font-size:clamp(8px,2.4vw,10px)!important;line-height:1.12!important;
   -webkit-line-clamp:unset!important;white-space:normal!important;
 }
 /* Les commandes du contenu restent EN DESSOUS de la couverture. */
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls,
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-calendar-filters,
 .ec-wrap.ec-app.ec-skin-2 .ec-upcoming-head-actions{margin-top:0!important;margin-bottom:7px!important;row-gap:6px!important}
 .ec-wrap.ec-app.ec-skin-2 .ec-s2-size-control{box-sizing:border-box!important;max-width:100%!important;overflow:hidden!important}
}
@media(max-width:360px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero-copy{
   padding-top:90px!important;padding-bottom:2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero h1 span{font-size:36px!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero .ec-home-stats.ec-skin2-real-stats{margin:0 8px 9px!important;gap:2px!important}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-stat-text small{font-size:8px!important}
}

/* 1.0.291 — Galerie sur petits téléphones : tri, filtres et choix grille/liste
   doivent tenir sur une seule rangée, sans bouton isolé en dessous. */
@media(max-width:375px){
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-toolbar-end{
   display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
   justify-content:space-between!important;width:100%!important;max-width:100%!important;
   min-width:0!important;gap:4px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-sort-label{
   display:flex!important;flex:0 1 98px!important;width:98px!important;min-width:0!important;
   overflow:hidden!important;gap:0!important;font-size:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-sort-label select{
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:35px!important;padding:4px 3px!important;font-size:11px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-more-filters{
   order:2!important;flex:0 1 118px!important;min-width:0!important;
   max-width:118px!important;width:auto!important;height:35px!important;
   min-height:35px!important;padding:5px 5px!important;font-size:10.5px!important;
   white-space:nowrap!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-gallery-layout{
   order:3!important;flex:0 0 66px!important;min-width:66px!important;width:66px!important;
   padding:2px!important;gap:2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2 .ec-skin2-gallery-controls .ec-skin2-layout-btn{
   flex:1 1 0!important;min-width:0!important;max-width:none!important;
   width:auto!important;padding:4px 5px!important;
 }
}
/* Compteurs sur téléphones : garder le nombre à droite de son pictogramme,
   mais laisser à l'intitulé toute la largeur du groupe (pas de mots cassés). */
@media(max-width:600px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero .ec-home-stat-text{
   display:contents!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero .ec-home-stat-text strong{
   grid-column:2!important;grid-row:1!important;align-self:center!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero .ec-home-stat-text small{
   grid-column:1/-1!important;grid-row:2!important;min-width:0!important;
   margin:1px 0 0!important;font-size:clamp(7.5px,2.15vw,9.5px)!important;
   white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;
 }
}


/* MyDex 1.0.292 — Barre supérieure réellement compacte.
   Une seule ligne sur téléphone ; sur PC recherche à largeur bornée.
   Le bandeau et les compteurs d'accueil ne sont pas redessinés. */
.ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;gap:7px!important;height:40px!important;min-height:40px!important;max-height:40px!important;
 width:auto!important;min-width:0!important;max-width:none!important;padding:0 13px!important;
 background:#0b85f4!important;border:1px solid #53b4ff!important;border-radius:10px!important;
 color:#fff!important;box-shadow:0 3px 10px rgba(0,27,63,.23)!important;
 font-size:12.5px!important;font-weight:720!important;line-height:1!important;white-space:nowrap!important;
}
.ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta .ec-skin2-add-symbol{
 display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:18px!important;
 color:inherit!important;stroke:currentColor!important;overflow:visible!important;
}
.ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-label{
 display:inline-block!important;box-sizing:content-box!important;width:auto!important;min-width:0!important;max-width:none!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 padding:0!important;margin:0!important;background:none!important;vertical-align:middle!important;
 font-size:12.5px!important;font-weight:720!important;line-height:1.2!important;
}
.ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta{
 box-sizing:border-box!important;flex:0 1 340px!important;width:clamp(185px,30vw,340px)!important;min-width:0!important;
 max-width:340px!important;min-height:39px!important;height:39px!important;max-height:39px!important;
 padding:0 11px!important;gap:8px!important;border-radius:10px!important;
}
.ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta>span{
 font-size:12px!important;line-height:1.2!important;
}
@media(min-width:901px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;
  box-sizing:border-box!important;min-height:50px!important;height:50px!important;padding:3px 11px!important;margin-bottom:10px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-account{margin-left:auto!important;}
 /* Le bouton ne disparaît plus mystérieusement en Galerie : c'est la même action que partout. */
 .ec-wrap.ec-app.ec-skin-2.ec-current-view-gallery .ec-unified-topbar .ec-skin2-add-cta{display:inline-flex!important;}
}
@media(max-width:900px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:35px minmax(0,1fr) 38px max-content!important;
  grid-template-rows:40px!important;align-items:center!important;justify-items:stretch!important;
  column-gap:5px!important;row-gap:0!important;
  width:100%!important;max-width:100%!important;
  min-height:46px!important;height:46px!important;max-height:46px!important;
  padding:3px 4px!important;margin:0 0 6px!important;
  top:0!important;flex-direction:initial!important;flex-wrap:initial!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-unified-menu-button{
  display:grid!important;grid-column:1!important;grid-row:1!important;
  justify-self:start!important;align-self:center!important;width:35px!important;min-width:35px!important;
  height:35px!important;min-height:35px!important;max-height:35px!important;margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-unified-title{display:none!important;}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta{
  display:flex!important;grid-column:2!important;grid-row:1!important;justify-self:stretch!important;
  flex:initial!important;min-width:0!important;max-width:100%!important;width:100%!important;
  height:35px!important;min-height:35px!important;max-height:35px!important;
  padding:0 8px!important;gap:5px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-pictogram{
  flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta>span{
  min-width:0!important;font-size:11px!important;line-height:1.2!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta,
 .ec-wrap.ec-app.ec-skin-2.ec-current-view-gallery .ec-unified-topbar .ec-skin2-add-cta{
  display:grid!important;place-items:center!important;grid-column:3!important;grid-row:1!important;
  justify-self:center!important;align-self:center!important;
  box-sizing:border-box!important;flex:none!important;width:38px!important;min-width:38px!important;
  max-width:38px!important;height:36px!important;min-height:36px!important;max-height:36px!important;
  padding:0!important;border-radius:10px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-label{display:none!important;}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta .ec-skin2-add-symbol{width:19px!important;height:19px!important;}
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-account{
  display:flex!important;grid-column:4!important;grid-row:1!important;justify-self:end!important;
  gap:2px!important;align-items:center!important;box-sizing:border-box!important;
  min-width:0!important;width:auto!important;max-width:max-content!important;height:38px!important;
  margin:0!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar :is(.ec-top-profile-button,.ec-top-admin-settings){
  flex:0 0 33px!important;width:33px!important;min-width:33px!important;max-width:33px!important;
  height:33px!important;min-height:33px!important;max-height:33px!important;padding:2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-profile-avatar{
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
 }
 /* L'overlay reste derrière la barre, à la même coordonnée initiale qu'en 1.0.291. */
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-skin2-cover,
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-home-view .ec-home-hero{
  margin-top:-52px!important;
 }
}
@media(max-width:350px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar{
  grid-template-columns:33px minmax(0,1fr) 36px max-content!important;column-gap:3px!important;padding:3px 2px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-unified-menu-button{
  width:33px!important;min-width:33px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-add-cta{
  width:36px!important;min-width:36px!important;max-width:36px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar :is(.ec-top-profile-button,.ec-top-admin-settings){
  flex-basis:30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;
 }
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-account{gap:0!important;}
}
/* Tablettes : la recherche reste volontairement moins large que le bandeau. */
@media(min-width:601px) and (max-width:900px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar{
  grid-template-columns:35px minmax(0,420px) 38px max-content!important;
  justify-content:space-between!important;
 }
}


/* MyDex 1.0.294 — recherche plus courte sur ordinateur, y compris en entrée directe /affiche/.
   Le CSS mobile déjà validé reste inchangé ; un seul ajout dans la barre supérieure. */
@media (min-width:901px){
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-skin2-search-cta,
 .ec-wrap.ec-app.ec-skin-2.ec-affiche-standalone .ec-affiche-standalone-topbar .ec-skin2-search-cta{
   box-sizing:border-box!important;
   flex:0 1 245px!important;
   width:245px!important;
   max-width:245px!important;
   min-width:0!important;
 }
}


/* MyDex 1.0.295 — Le bouton Ajouter un flyer reste à droite de la barre
   sur ordinateur, séparé du petit champ de recherche. Le bouton flottant
   sous le bandeau demeure absent (cf. 1.0.294). Aucun changement mobile. */
@media (min-width:901px){
 .ec-wrap.ec-app.ec-skin-2 .ec-unified-topbar .ec-skin2-add-cta{
   margin-left:auto!important;
 }
 /* En MyDex connecté, le compte reste juste après Ajouter, sans empêcher
    le bouton Ajouter de s'aligner dans la zone droite de la barre. */
 .ec-wrap.ec-app.ec-skin-2:not(.ec-affiche-standalone) .ec-unified-topbar .ec-top-account{
   margin-left:0!important;
 }
}
