/* COBAT V2.0.14 — tiroirs modules harmonisés avec le portail, structure dédiée module */
[data-cobat-module-drawer="1"]{
  background:linear-gradient(180deg,#0d5798 0%,#0a4f8e 100%)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:10px 0 30px rgba(7,37,67,.20)!important;
  display:flex!important;
  flex-direction:column!important;
}
[data-cobat-module-drawer="1"] .cobatModuleDrawerHeader{
  flex:0 0 auto;
  padding:12px 13px 10px;
  border-bottom:1px solid rgba(255,255,255,.15);
}
[data-cobat-module-drawer="1"] .cobatModuleLogoBox{
  width:min(220px,calc(100% - 44px));
  height:62px;
  margin:0 auto 10px;
  padding:5px 12px;
  box-sizing:border-box;
  border-radius:9px;
  background:rgba(255,255,255,.97);
  box-shadow:0 3px 10px rgba(5,35,61,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
[data-cobat-module-drawer="1"] .cobatModuleLogoBox img{
  width:100%;height:100%;object-fit:contain;display:block;
}
[data-cobat-module-drawer="1"] .cobatModuleEyebrow,
[data-cobat-module-drawer="1"] .cobatModuleSectionTitle{
  color:rgba(214,235,252,.63)!important;
  font:700 9px/1.2 Arial,sans-serif!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
[data-cobat-module-drawer="1"] .cobatModuleEyebrow{margin:0 2px 6px}
[data-cobat-module-drawer="1"] .cobatModuleChantierCard{
  min-height:42px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
[data-cobat-module-drawer="1"] .cobatModuleChantierName{
  min-width:0;
  color:#fff!important;
  font:800 12px/1.25 Arial,sans-serif!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
[data-cobat-module-drawer="1"] .cobatModuleChantierChevron{
  color:rgba(255,255,255,.72);
  font:800 14px/1 Arial,sans-serif;
}
[data-cobat-module-drawer="1"] .cobatModuleState{
  margin:6px 1px 0;
  display:flex;
  align-items:center;
  gap:6px;
  color:rgba(255,255,255,.82)!important;
  font:600 10px/1.2 Arial,sans-serif!important;
}
[data-cobat-module-drawer="1"] .cobatModuleStateDot,
[data-cobat-module-drawer="1"] .cobatModuleOnlineDot{
  width:8px;height:8px;border-radius:50%;background:#3fe484;box-shadow:0 0 0 2px rgba(63,228,132,.12);flex:none;
}
[data-cobat-module-drawer="1"] .cobatModuleLotHost{
  margin-top:8px;
}
[data-cobat-module-drawer="1"] .cobatModuleLotHost:empty{display:none}
[data-cobat-module-drawer="1"] .cobatModuleLotHost .lot-selector,
[data-cobat-module-drawer="1"] .cobatModuleLotHost .autocontrole-lot-selector,
[data-cobat-module-drawer="1"] .cobatModuleLotMirror{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  padding:0!important;
  background:transparent!important;
}
[data-cobat-module-drawer="1"] .cobatModuleLotHost [hidden]{display:none!important}
[data-cobat-module-drawer="1"] .cobatModuleLotHost button,
[data-cobat-module-drawer="1"] .cobatModuleLotMirror button{
  min-height:30px!important;
  padding:5px 7px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  font:800 10px/1 Arial,sans-serif!important;
  box-shadow:none!important;
}
[data-cobat-module-drawer="1"] .cobatModuleLotHost button.selected,
[data-cobat-module-drawer="1"] .cobatModuleLotHost button.active,
[data-cobat-module-drawer="1"] .cobatModuleLotHost button[aria-pressed="true"],
[data-cobat-module-drawer="1"] .cobatModuleLotMirror button.active{
  background:#fff!important;color:#0a5595!important;border-color:#fff!important;
}
[data-cobat-module-drawer="1"] .cobatModuleNavLabel{
  flex:0 0 auto;
  margin:9px 12px 3px;
  padding-top:1px;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"]{
  flex:0 1 auto!important;
  min-height:0!important;
  margin:0!important;
  padding:3px 9px 7px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"]::-webkit-scrollbar{width:5px}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"]::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:10px}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] button,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] a{
  color:#fff!important;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .nav-btn,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .navBtn,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .drawerNavBtn,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .pteDrawerNavBtn,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .side-nav-btn,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] > button,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .nav-item{
  width:100%!important;
  min-height:40px!important;
  margin:1px 0!important;
  padding:7px 9px!important;
  border-radius:7px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:650!important;
  box-shadow:none!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease!important;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .nav-btn:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .navBtn:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .drawerNavBtn:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .pteDrawerNavBtn:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .side-nav-btn:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] > button:hover,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .nav-item:hover{
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,255,255,.06)!important;
  transform:translateX(1px)!important;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .active,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] .on,
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] [aria-current="page"]{
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.10)!important;
}
[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"] svg,
[data-cobat-module-drawer="1"] .cobatModuleParamBtn svg{
  width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important;
}
[data-cobat-module-drawer="1"] .nav-section-label,
[data-cobat-module-drawer="1"] .nav-title{
  color:rgba(214,235,252,.55)!important;font-size:8.5px!important;letter-spacing:.07em!important;text-transform:uppercase!important;
}
[data-cobat-module-drawer="1"] .nav-separator,
[data-cobat-module-drawer="1"] .drawerNavSeparator{
  background:rgba(255,255,255,.12)!important;border:0!important;height:1px!important;margin:5px 6px!important;
}
[data-cobat-module-drawer="1"] .cobatModuleFavorites,
[data-cobat-module-drawer="1"] .cobatModuleParams{
  flex:0 0 auto;
  margin:0 10px;
  padding:8px 0 7px;
  border-top:1px solid rgba(255,255,255,.14);
}
[data-cobat-module-drawer="1"] .cobatModuleFavorites[hidden],
[data-cobat-module-drawer="1"] .cobatModuleParams[hidden]{display:none!important}
[data-cobat-module-drawer="1"] .cobatModuleSectionTitle{margin:0 3px 6px}
[data-cobat-module-drawer="1"] .cobatModuleFavoriteList{display:grid;gap:4px}
[data-cobat-module-drawer="1"] .cobatModuleFavorite{
  min-height:38px;
  padding:6px 8px;
  display:grid;
  grid-template-columns:27px minmax(0,1fr) 14px;
  align-items:center;
  gap:7px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  background:rgba(255,255,255,.07);
  color:#fff!important;
  text-decoration:none!important;
  font:650 10.5px/1.2 Arial,sans-serif!important;
}
[data-cobat-module-drawer="1"] .cobatModuleFavorite:hover{background:rgba(255,255,255,.12)}
[data-cobat-module-drawer="1"] .cobatModuleFavoriteIcon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#fff}
[data-cobat-module-drawer="1"] .cobatModuleFavoriteIcon svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8}
[data-cobat-module-drawer="1"] .cobatModuleFavoriteLabel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-cobat-module-drawer="1"] .cobatModuleFavoriteArrow{font-size:16px;color:rgba(255,255,255,.72);text-align:center}
[data-cobat-module-drawer="1"] .cobatModuleParamsList{display:grid;gap:3px}
[data-cobat-module-drawer="1"] .cobatModuleParamBtn{
  width:100%!important;
  min-height:38px!important;
  margin:0!important;
  padding:6px 8px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  font-size:10.5px!important;
  font-weight:650!important;
  text-align:left!important;
}
[data-cobat-module-drawer="1"] .cobatModuleParamBtn:hover{background:rgba(255,255,255,.09)!important}
[data-cobat-module-drawer="1"] .cobatModuleStatus{
  flex:0 0 auto;
  margin-top:auto;
  padding:8px 11px 10px;
  border-top:1px solid rgba(255,255,255,.15);
  background:rgba(6,59,107,.22);
  position:sticky;
  bottom:0;
  z-index:3;
}
[data-cobat-module-drawer="1"] .cobatModuleOnline{
  min-height:26px;padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.06);display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.82)!important;font:600 9.5px/1.2 Arial,sans-serif!important;
}
[data-cobat-module-drawer="1"] .cobatModuleOnline.offline .cobatModuleOnlineDot{background:#f6a63b;box-shadow:none}
[data-cobat-module-drawer="1"] [data-cobat-module-legacy="1"],
[data-cobat-module-drawer="1"] .sidebar-spacer,
[data-cobat-module-drawer="1"] .sideSpacer,
[data-cobat-module-drawer="1"] .side-spacer,
[data-cobat-module-drawer="1"] .sidebar-foot,
[data-cobat-module-drawer="1"] .sideFooter,
[data-cobat-module-drawer="1"] .drawerBottom,
[data-cobat-module-drawer="1"] .pteDrawerBottom,
[data-cobat-module-drawer="1"] .sidebar-footer{
  display:none!important;
}
/* L'onglet MENU conserve la mécanique de chaque module mais adopte le même rendu. */
[data-cobat-module-drawer="1"] .menuTab,
[data-cobat-module-drawer="1"] .cobat-menu-tab,
[data-cobat-module-drawer="1"] .drawer-tab,
[data-cobat-module-drawer="1"] .pteDrawerTab,
[data-cobat-module-drawer="1"] .side-handle{
  background:#0a4f8e!important;color:#fff!important;border-color:rgba(255,255,255,.20)!important;box-shadow:7px 5px 18px rgba(7,37,67,.20)!important;
}
@media(max-width:700px){
  [data-cobat-module-drawer="1"] .cobatModuleLogoBox{width:min(196px,calc(100% - 36px));height:56px;padding:5px 10px}
  [data-cobat-module-drawer="1"] .cobatModuleDrawerHeader{padding:10px 11px 8px}
  [data-cobat-module-drawer="1"] [data-cobat-module-nav="1"]{padding-left:7px!important;padding-right:7px!important}
}
@media print{
  [data-cobat-module-drawer="1"]{display:none!important}
}

/* COBAT V2.0.17 — tiroirs modules rééquilibrés sur desktop
   La zone métier reste à l'échelle V2.0.16 (80 %).
   Les tiroirs remontent de 60 % à 80 % pour retrouver une lecture confortable.
   Correction complémentaire des poignées externes Plans / Commandes : elles restent
   accolées au bord visuel du tiroir après mise à l'échelle, sans espace vide. */
:root{--cobat-module-drawer-desktop-scale:.80}
@media screen and (min-width:980px){
  [data-cobat-module-drawer="1"][data-cobat-module-drawer="1"][data-cobat-module-drawer="1"]{
    zoom:var(--cobat-module-drawer-desktop-scale)!important;
    height:125vh!important;
    min-height:125vh!important;
    max-height:125vh!important;
  }

  /* Gestion de plans et Commandes : la poignée MENU est un élément frère du tiroir,
     elle n'est donc pas affectée par le zoom du drawer. On la redimensionne et on
     recalcule sa position d'ouverture sur la largeur visuelle : 290 × 0,80 = 232 px. */
  body.module-plans .side-tab > .side-handle,
  body.module-commandes .side-tab > .side-handle{
    width:42px!important;
    height:125px!important;
    border-radius:0 14px 14px 0!important;
    box-shadow:6px 5px 18px rgba(29,84,128,.20)!important;
  }
  body.module-plans .side-tab > .side-handle span,
  body.module-commandes .side-tab > .side-handle span{
    font-size:10px!important;
    letter-spacing:.95px!important;
  }
  body.module-plans .side-tab:hover > .side-handle,
  body.module-plans .side-tab.open > .side-handle,
  body.module-commandes .side-tab:hover > .side-handle,
  body.module-commandes .side-tab.open > .side-handle{
    left:232px!important;
  }

  /* Empêche les poignées de produire un débordement horizontal parasite pendant
     l'animation d'ouverture/fermeture. */
  body.module-plans .side-tab,
  body.module-commandes .side-tab{
    max-width:274px!important;
  }
}

@media print{
  [data-cobat-module-drawer="1"]{display:none!important}
}

/* COBAT V2.0.18 — tiroirs modules +15 points par rapport à V2.0.17
   Échelle desktop : 80 % -> 95 %. La hauteur est compensée afin de conserver
   un tiroir pleine hauteur. Les poignées externes Plans / Commandes sont
   recalées sur la largeur visuelle réelle du tiroir (290 × .95 = 275.5 px). */
:root{--cobat-module-drawer-desktop-scale:.95}
@media screen and (min-width:980px){
  [data-cobat-module-drawer="1"][data-cobat-module-drawer="1"][data-cobat-module-drawer="1"]{
    zoom:var(--cobat-module-drawer-desktop-scale)!important;
    height:105.2632vh!important;
    min-height:105.2632vh!important;
    max-height:105.2632vh!important;
  }

  body.module-plans .side-tab > .side-handle,
  body.module-commandes .side-tab > .side-handle{
    width:50px!important;
    height:148px!important;
    border-radius:0 17px 17px 0!important;
    box-shadow:7px 6px 20px rgba(29,84,128,.20)!important;
  }
  body.module-plans .side-tab > .side-handle span,
  body.module-commandes .side-tab > .side-handle span{
    font-size:12px!important;
    letter-spacing:1.15px!important;
  }
  body.module-plans .side-tab:hover > .side-handle,
  body.module-plans .side-tab.open > .side-handle,
  body.module-commandes .side-tab:hover > .side-handle,
  body.module-commandes .side-tab.open > .side-handle{
    left:276px!important;
  }
  body.module-plans .side-tab,
  body.module-commandes .side-tab{
    max-width:326px!important;
  }
}


/* COBAT V2.0.19 — aucune filigrane réseau derrière les tiroirs modules.
   Le seul statut visible est .cobatModuleOnline, intégré au bas du tiroir. */
#cobatV2Net{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}

/* COBAT V2.3.72 — fluidité des tiroirs desktop + stabilisation Ferraillage */
@media screen and (min-width:768px) and (hover:hover) and (pointer:fine){
  [data-cobat-module-drawer="1"],
  .sidebar[data-cobat-module-drawer="1"],
  .side-drawer[data-cobat-module-drawer="1"],
  .cobatDrawer[data-cobat-module-drawer="1"],
  .cobatPteDrawer[data-cobat-module-drawer="1"]{
    transition:transform .32s cubic-bezier(.22,.85,.3,1),box-shadow .28s ease!important;
    will-change:transform;
    backface-visibility:hidden;
    -webkit-font-smoothing:antialiased;
  }
  [data-cobat-module-drawer="1"].cobat-hover-open{
    transform:translateX(0)!important;
    box-shadow:14px 0 34px rgba(7,37,67,.24)!important;
  }
  .side-tab > .side-handle,
  .fer-drawer-handle{
    transition:left .32s cubic-bezier(.22,.85,.3,1),transform .2s ease,box-shadow .2s ease!important;
    will-change:left;
  }
  .side-tab.cobat-hover-open > .side-handle{
    left:var(--cobat-hover-drawer-width,276px)!important;
  }
  body.cobat-hover-drawer-open .fer-drawer-handle{
    left:var(--cobat-active-drawer-width,258px)!important;
  }
  [data-cobat-module-drawer="1"] .menuTab,
  [data-cobat-module-drawer="1"] .drawerTab,
  [data-cobat-module-drawer="1"] .pteDrawerTab,
  [data-cobat-module-drawer="1"] .side-handle{
    transition:background .18s ease,box-shadow .18s ease,filter .18s ease!important;
  }
  [data-cobat-module-drawer="1"] .menuTab:hover,
  [data-cobat-module-drawer="1"] .drawerTab:hover,
  [data-cobat-module-drawer="1"] .pteDrawerTab:hover,
  [data-cobat-module-drawer="1"] .side-handle:hover,
  .fer-drawer-handle:hover{
    filter:brightness(1.06);
    box-shadow:8px 6px 22px rgba(7,37,67,.26)!important;
  }
}

/* Le tiroir Ferraillage doit rester dans le viewport et réserver le scroll à sa navigation. */
@media screen and (min-width:768px){
  .fer-drawer[data-cobat-module-drawer="1"]{
    overflow:hidden!important;
    height:105.2632vh!important;
    min-height:105.2632vh!important;
    max-height:105.2632vh!important;
  }
  .fer-drawer[data-cobat-module-drawer="1"] [data-cobat-module-nav="1"]{
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .fer-drawer[data-cobat-module-drawer="1"] .cobatModuleFavorites,
  .fer-drawer[data-cobat-module-drawer="1"] .cobatModuleParams{
    flex-shrink:0!important;
  }
  .fer-drawer[data-cobat-module-drawer="1"] .cobatModuleStatus{
    position:relative!important;
    bottom:auto!important;
    flex:0 0 auto!important;
    margin-top:auto!important;
  }
}
@media (prefers-reduced-motion:reduce){
  [data-cobat-module-drawer="1"],.side-tab > .side-handle,.fer-drawer-handle{transition:none!important}
}

/* COBAT V2.3.75 — Sidebar PC rétractable inspirée du prototype fourni.
   Mobile inchangé : le tiroir historique reste actif sous 768 px. */
:root{
  --cobat-sidebar-collapsed:56px;
  --cobat-sidebar-expanded:272px;
  --cobat-sidebar-blue:#0d5798;
  --cobat-sidebar-blue-dark:#08477e;
  --cobat-sidebar-blue-light:#2b6faa;
}
@media screen and (min-width:768px){
  body.cobatModuleSidebarHost2376{overflow-x:hidden!important;}
  .cobatSidebarShell2376{
    position:fixed!important;inset:0 auto 0 0!important;width:var(--cobat-sidebar-expanded)!important;
    max-width:none!important;overflow:visible!important;pointer-events:none!important;z-index:10020!important;
  }
  [data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  .sidebar[data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  .side-drawer[data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  .cobatDrawer[data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  .cobatPteDrawer[data-cobat-module-drawer="1"].cobatModuleSidebar2376{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:var(--cobat-sidebar-expanded)!important;height:100vh!important;min-height:100vh!important;max-height:100vh!important;
    zoom:1!important;transform:none!important;translate:none!important;margin:0!important;
    border-radius:0 15px 15px 0!important;overflow:visible!important;pointer-events:auto!important;
    transition:width .38s cubic-bezier(.22,.8,.28,1),box-shadow .28s ease!important;
    background:linear-gradient(180deg,#0d5c9f 0%,#0a4f8e 100%)!important;
    box-shadow:10px 0 28px rgba(7,37,67,.20)!important;z-index:10020!important;
    will-change:width;
  }
  [data-cobat-module-drawer="1"].cobatModuleSidebar2376.cobatSidebarCollapsed{width:var(--cobat-sidebar-collapsed)!important;box-shadow:5px 0 18px rgba(7,37,67,.16)!important;}
  [data-cobat-module-drawer="1"].cobatModuleSidebar2376.cobatSidebarExpanded{width:var(--cobat-sidebar-expanded)!important;}

  /* Neutralise les anciens systèmes hover/translate/left. */
  .cobatModuleSidebar2376:hover,.cobatModuleSidebar2376.open,.cobatModuleSidebar2376.mobile-open,
  .cobatModuleSidebar2376.cobat-hover-open{left:0!important;transform:none!important;}
  .cobatSidebarShell2376:hover .cobatModuleSidebar2376,.cobatSidebarShell2376.open .cobatModuleSidebar2376{left:0!important;transform:none!important;}
  [data-cobat-legacy-handle="1"]{display:none!important;visibility:hidden!important;pointer-events:none!important;}

  .cobatModuleSidebar2376 > .cobatSidebarToggle{
    position:absolute!important;top:18px!important;right:-13px!important;width:27px!important;height:27px!important;
    border:1px solid rgba(255,255,255,.38)!important;border-radius:9px!important;background:#0a4f8e!important;color:#fff!important;
    display:grid!important;place-items:center!important;padding:0!important;z-index:50!important;cursor:pointer!important;
    box-shadow:0 5px 15px rgba(7,37,67,.24)!important;transition:transform .2s ease,background .18s ease,box-shadow .18s ease!important;
  }
  .cobatModuleSidebar2376 > .cobatSidebarToggle:hover{background:#073e70!important;box-shadow:0 7px 18px rgba(7,37,67,.30)!important;}
  .cobatModuleSidebar2376 > .cobatSidebarToggle svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transition:transform .28s ease!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed > .cobatSidebarToggle svg{transform:rotate(180deg)!important;}

  .cobatModuleSidebar2376 .cobatModuleDrawerHeader{
    flex:0 0 auto!important;padding:12px 12px 9px!important;overflow:hidden!important;transition:padding .30s ease!important;
  }
  .cobatModuleSidebar2376 .cobatModuleLogoBox{
    width:190px!important;height:54px!important;margin:0 auto 10px!important;padding:5px 10px!important;border-radius:9px!important;
    transition:width .30s ease,height .30s ease,margin .30s ease,padding .30s ease!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleDrawerHeader{padding:9px 5px 7px!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleLogoBox{width:38px!important;height:34px!important;margin:0 auto!important;padding:3px!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleEyebrow,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleChantierCard,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleState,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleLotHost{
    opacity:0!important;max-height:0!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;pointer-events:none!important;
  }

  .cobatModuleSidebar2376 .cobatModuleNavLabel,
  .cobatModuleSidebar2376 .cobatModuleSectionTitle{
    white-space:nowrap!important;overflow:hidden!important;transition:opacity .18s ease,max-height .28s ease,margin .28s ease!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed > .cobatModuleNavLabel,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleSectionTitle{
    opacity:0!important;max-height:6px!important;height:6px!important;margin:3px 0!important;padding:0!important;
  }

  .cobatModuleSidebar2376 [data-cobat-module-nav="1"]{
    padding:4px 8px 7px!important;overflow-y:auto!important;overflow-x:visible!important;scrollbar-width:thin!important;
    transition:padding .28s ease!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed [data-cobat-module-nav="1"]{padding:4px 4px 6px!important;}

  .cobatModuleSidebar2376 .cobatSidebarItem{
    position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
    min-height:43px!important;width:100%!important;padding:7px 9px!important;border-radius:9px!important;white-space:nowrap!important;
    overflow:visible!important;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem{
    width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:2px auto!important;padding:0!important;
    justify-content:center!important;gap:0!important;border-radius:10px!important;
  }
  .cobatModuleSidebar2376 .cobatSidebarItem > svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .drawerIcon,
  .cobatModuleSidebar2376 .cobatSidebarItem > .icon,
  .cobatModuleSidebar2376 .cobatSidebarItem > .cobatModuleFavoriteIcon{
    flex:0 0 26px!important;width:26px!important;min-width:26px!important;height:26px!important;display:grid!important;place-items:center!important;margin:0!important;
  }
  .cobatModuleSidebar2376 .cobatSidebarItem > svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .drawerIcon svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .icon svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .cobatModuleFavoriteIcon svg{width:19px!important;height:19px!important;}
  .cobatModuleSidebar2376 .cobatSidebarLabel,
  .cobatModuleSidebar2376 .cobatModuleFavoriteLabel{
    display:block!important;min-width:0!important;max-width:190px!important;opacity:1!important;overflow:hidden!important;text-overflow:ellipsis!important;
    transition:opacity .16s ease,max-width .30s ease,margin .30s ease!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarLabel,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleFavoriteLabel,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .menu-count,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleFavoriteArrow{
    opacity:0!important;max-width:0!important;width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;pointer-events:none!important;
  }
  .cobatModuleSidebar2376 .cobatSidebarItem.active,
  .cobatModuleSidebar2376 .cobatSidebarItem.on,
  .cobatModuleSidebar2376 .cobatSidebarItem[aria-current="page"]{
    background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important;
    box-shadow:inset 3px 0 0 #fff!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem.active,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem.on,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem[aria-current="page"]{box-shadow:inset 3px 0 0 #fff,0 4px 12px rgba(4,35,64,.15)!important;}

  /* Les tooltips sont rendus hors de la sidebar par le composant flottant V2.3.81. */
  .cobatModuleSidebar2376 .cobatModuleFavorites,
  .cobatModuleSidebar2376 .cobatModuleParams{flex:0 0 auto!important;margin:0 9px!important;padding:7px 0!important;transition:margin .28s ease!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleFavorites,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleParams{margin:0 4px!important;padding:4px 0!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleFavoriteList,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleParamsList{display:grid!important;justify-items:center!important;gap:3px!important;}
  .cobatModuleSidebar2376 .cobatModuleFavorite{grid-template-columns:26px minmax(0,1fr) 14px!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleFavorite{display:flex!important;grid-template-columns:none!important;}

  .cobatModuleSidebar2376 .cobatModuleStatus{flex:0 0 auto!important;margin-top:auto!important;position:relative!important;bottom:auto!important;padding:8px 10px 10px!important;overflow:visible!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleStatus{padding:8px!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleOnline{width:38px!important;min-width:38px!important;height:30px!important;min-height:30px!important;margin:auto!important;padding:0!important;justify-content:center!important;}
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatModuleOnlineText{display:none!important;}

  /* L'ancien zoom desktop n'a plus lieu d'être avec une largeur animée. */
  .cobatModuleSidebar2376{font-size:initial!important;}
}
@media screen and (min-width:768px) and (max-width:979px){
  :root{--cobat-sidebar-expanded:252px;--cobat-sidebar-collapsed:56px;}
}
@media (prefers-reduced-motion:reduce){
  .cobatModuleSidebar2376,.cobatModuleSidebar2376 *{transition:none!important;scroll-behavior:auto!important;}
}

/* Tooltip flottant hors du conteneur scrollable, pour ne jamais être rogné. */
@media screen and (min-width:768px){
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem[data-cobat-sidebar-tip]::after{display:none!important;}
  .cobatSidebarTooltip2381{
    position:fixed;z-index:10150;left:-9999px;top:-9999px;padding:7px 10px;border-radius:7px;
    background:#073e70;color:#fff;font:650 11px/1.2 Arial,sans-serif;white-space:nowrap;
    box-shadow:0 7px 20px rgba(7,37,67,.24);opacity:0;visibility:hidden;pointer-events:none;
    transform:none;transition:none!important;
  }
  .cobatSidebarTooltip2381.show{opacity:1;visibility:visible;transform:none;}
}


/* COBAT V2.3.81 — sidebar au clic + tooltip stable basé sur la position réelle du pointeur. */

@media screen and (min-width:768px){
  body.cobatModuleSidebarHost2376 .side-tab:hover > .side-drawer,
  body.cobatModuleSidebarHost2376 .side-tab:hover > .sidebar,
  body.cobatModuleSidebarHost2376 .side-tab:hover .cobatModuleSidebar2376,
  body.cobatModuleSidebarHost2376 .sidebar:hover,
  body.cobatModuleSidebarHost2376 .side-drawer:hover,
  body.cobatModuleSidebarHost2376 [data-cobat-module-drawer="1"]:hover{
    left:0!important;transform:none!important;translate:none!important;
  }
  body.cobatModuleSidebarHost2376.cobatSidebarCollapsedHost [data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  body.cobatModuleSidebarHost2376.cobatSidebarCollapsedHost .sidebar[data-cobat-module-drawer="1"].cobatModuleSidebar2376,
  body.cobatModuleSidebarHost2376.cobatSidebarCollapsedHost .side-drawer[data-cobat-module-drawer="1"].cobatModuleSidebar2376{
    width:var(--cobat-sidebar-collapsed)!important;
    min-width:var(--cobat-sidebar-collapsed)!important;
    max-width:var(--cobat-sidebar-collapsed)!important;
    left:0!important;transform:none!important;translate:none!important;
  }
  body.cobatModuleSidebarHost2376.cobatSidebarExpandedHost [data-cobat-module-drawer="1"].cobatModuleSidebar2376{
    width:var(--cobat-sidebar-expanded)!important;
    min-width:var(--cobat-sidebar-expanded)!important;
    max-width:var(--cobat-sidebar-expanded)!important;
    left:0!important;transform:none!important;translate:none!important;
  }
  body.cobatModuleSidebarHost2376.cobatSidebarCollapsedHost .cobatSidebarShell2376{
    width:var(--cobat-sidebar-collapsed)!important;
    min-width:var(--cobat-sidebar-collapsed)!important;
    max-width:var(--cobat-sidebar-collapsed)!important;
  }
  body.cobatModuleSidebarHost2376.cobatSidebarExpandedHost .cobatSidebarShell2376{
    width:var(--cobat-sidebar-expanded)!important;
    min-width:var(--cobat-sidebar-expanded)!important;
    max-width:var(--cobat-sidebar-expanded)!important;
  }
  /* Tous les anciens onglets/poignées de tiroir sont neutralisés sur PC. */
  body.cobatModuleSidebarHost2376 .side-handle,
  body.cobatModuleSidebarHost2376 .menuTab,
  body.cobatModuleSidebarHost2376 .drawerTab,
  body.cobatModuleSidebarHost2376 .pteDrawerTab,
  body.cobatModuleSidebarHost2376 .fer-drawer-handle{
    pointer-events:none!important;
  }
}

/* V2.3.79 — normalisation des icônes compactes et suppression des compteurs CR. */
@media screen and (min-width:768px){
  .cobatModuleSidebar2376 .cobatSidebarItem > .navIcon,
  .cobatModuleSidebar2376 .cobatSidebarItem > .pteDrawerIcon,
  .cobatModuleSidebar2376 .cobatSidebarItem > .drawerIcon,
  .cobatModuleSidebar2376 .cobatSidebarItem > .icon{
    flex:0 0 26px!important;width:26px!important;min-width:26px!important;height:26px!important;
    display:grid!important;place-items:center!important;margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;
    color:inherit!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;
  }
  .cobatModuleSidebar2376 .cobatSidebarItem > .navIcon svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .pteDrawerIcon svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .drawerIcon svg,
  .cobatModuleSidebar2376 .cobatSidebarItem > .icon svg{
    width:19px!important;height:19px!important;display:block!important;opacity:1!important;visibility:visible!important;
  }
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem > .navIcon,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem > .pteDrawerIcon,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem > .drawerIcon,
  .cobatModuleSidebar2376.cobatSidebarCollapsed .cobatSidebarItem > .icon{
    display:grid!important;opacity:1!important;visibility:visible!important;
  }
  body.module-cr-chantier .cobatModuleSidebar2376 .nav-count{display:none!important;}
}

/* COBAT V2.3.80 — correctif dédié Registre en sidebar compacte.
   Les anciennes générations du Registre imposaient sideNav/navBtn à 206–220 px.
   On recale toute la navigation sur la largeur réelle du rail compact. */
@media screen and (min-width:768px){
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"]{
    position:relative!important;
    left:0!important;
    right:auto!important;
    transform:none!important;
    translate:none!important;
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    flex:0 0 auto!important;
    padding:4px 7px 8px!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:4px!important;
    overflow:visible!important;
    opacity:1!important;
    visibility:visible!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem{
    position:relative!important;
    left:0!important;
    transform:none!important;
    translate:none!important;
    display:flex!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    margin:0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    opacity:1!important;
    visibility:visible!important;
    color:#fff!important;
    background:transparent!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    overflow:visible!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem:hover{
    background:rgba(255,255,255,.10)!important;
    color:#fff!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem.on{
    background:rgba(255,255,255,.17)!important;
    border-color:rgba(255,255,255,.16)!important;
    box-shadow:inset 3px 0 0 #fff,0 4px 12px rgba(4,35,64,.15)!important;
    color:#fff!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem > .navIcon,
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem:hover > .navIcon,
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem.on > .navIcon{
    display:grid!important;
    place-items:center!important;
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    height:26px!important;
    min-height:26px!important;
    flex:0 0 26px!important;
    padding:0!important;
    margin:0!important;
    opacity:1!important;
    visibility:visible!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn.cobatSidebarItem > .navIcon svg{
    display:block!important;
    width:20px!important;
    height:20px!important;
    opacity:1!important;
    visibility:visible!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn .navLabel,
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideNav[data-cobat-module-nav="1"] > .navBtn .cobatSidebarLabel{
    display:block!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
  body.module-registre .cobatModuleSidebar2376.cobatSidebarCollapsed .sideSpacer{
    flex:1 1 auto!important;
    min-height:8px!important;
  }
}
