/* ==== Scope global de la colonne pour éviter les overrides Tailwind ==== */
.sidebar-column * { box-sizing: border-box; }
.sidebar-column { width: 17rem; height: 100vh; display:flex; flex-direction:column; background:#fff; border-right:1px solid #e5e7eb; }

/* En-tête */
.sidebar-header { padding:1rem; border-bottom:1px solid #e5e7eb; display:flex; align-items:center; justify-content:space-between; background:#f3f4f6; font-weight:700; }

/* Sections */
.sidebar-sections { flex:1 1 auto; overflow-y:auto; padding:.5rem; }
.sidebar-sections details { margin-bottom:6px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; }
.sidebar-sections summary { padding:8px 10px; cursor:pointer; list-style:none; }
.sidebar-sections summary::-webkit-details-marker { display:none; }
.sidebar-sections > details > ul { margin:0; padding:8px 10px 10px 12px; list-style:none; border-top:1px solid #e5e7eb; }

/* Styles de sections (tes classes) */
.section-intrant { background:#ecfdf5 !important; color:#1d4ed8 !important; font-weight:700; padding:4px; border-radius:6px; border:2px solid #047857; }
.section-qualification { background:#fffbeb !important; font-weight:600; padding:4px; border-radius:6px; }
.section-traitement { background:#ecfdf5 !important; font-weight:600; padding:4px; border-radius:6px; }
.section-extrant { background:#f3f4f6 !important; font-weight:600; padding:4px; border-radius:6px; }
.section-rapports { background:#eef2ff !important; font-weight:600; padding:4px; border-radius:6px; }

/* Sous-rubriques */
.subsection { padding:2px 4px; margin-left:.75rem; border-left:3px solid #e5e7eb; color:#374151; }

/* Compteurs (badges à droite) */
.sidebar-sections .text-xs { 
  font-size:12px; line-height:1; 
  border:1px solid #e5e7eb; background:#fff; color:#111827; border-radius:6px; 
  padding:0 4px;
}

/* Effet de mise à jour */
@keyframes highlightPulse {
  0%   { background:#fef3c7; transform:scale(1.00); }
  40%  { background:#fde68a; transform:scale(1.06); }
  100% { background:transparent; transform:scale(1.00); }
}
.highlight-animate { animation: highlightPulse 1.8s ease-out; }

/* Zone utilisateur */
.sidebar-user { position:relative; padding:1rem; border-top:1px solid #e5e7eb; background:#f9fafb; }
.user-menu { position:absolute; bottom:100%; margin-bottom:.5rem; width:14rem; background:#fff; border:1px solid #e5e7eb; border-radius:.375rem; box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1); }

/* Largeur listes (ton ajout) */
menu, ol, ul { width:15rem !important; }

/* Micro utilitaires utilisés par ton HTML (si Tailwind ne charge pas) */
.flex{display:flex;} .justify-between{justify-content:space-between;} .items-center{align-items:center;}
.w-full{width:100%;} .list-none{list-style:none;} .cursor-pointer{cursor:pointer;}
.hover\:underline:hover{text-decoration:underline;} .hover\:bg-gray-100:hover{background:#f3f4f6;}
.mr-1{margin-right:4px;} .mb-2{margin-bottom:.5rem;} .px-1{padding:0 4px;} .px-2{padding:0 .5rem;}
.py-1{padding:.25rem 0;} .text-sm{font-size:14px;} .font-bold{font-weight:700;} .font-semibold{font-weight:600;}
.text-left{text-align:left;} .rounded{border-radius:6px;} .border{border:1px solid #e5e7eb;}
.bg-white{background:#fff; color:#111827;} .shadow{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);}
.w-56{width:14rem;} .absolute{position:absolute;} .bottom-full{bottom:100%;}
