/* Muebles El Paisa · v0.15.1
   Restauración segura: NO modifica el grid original de módulos. */

/* Cabecera: conserva tamaño y hace legible el descriptor corporativo. */
.brand-button{min-width:360px!important}
.brand-button span small{
  max-width:340px!important;
  font-size:11px!important;
  line-height:1.22!important;
  margin-top:3px!important;
  font-weight:600!important;
  color:#66716b!important;
}
#userLabel,#usersButton,.mep-hidden-top-0151{display:none!important}
.top-actions{gap:8px!important}

/* Campana */
.mep-bell-0151{
  position:relative!important;
  width:46px!important;height:42px!important;min-width:46px!important;
  padding:0!important;display:grid!important;place-items:center!important;
  border-radius:12px!important;
}
.mep-bell-0151 svg{width:20px;height:20px;stroke:currentColor}
.mep-bell-count-0151{
  position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;
  display:grid;place-items:center;border-radius:999px;background:#c9530b;color:#fff;
  border:2px solid #fff;font-size:11px;font-weight:800;line-height:1;
  font-variant-numeric:tabular-nums;
}

/* Hero: mismo ancho original, más compacto, sin invadir los módulos. */
.mep-hero-safe-0151{
  padding-top:14px!important;padding-bottom:14px!important;
  margin-bottom:26px!important;min-height:0!important;
}
.mep-hero-safe-0151 .mep-hide-hero-0151{display:none!important}
.mep-hero-safe-0151 .mep-hello-text-0149{
  margin:0!important;font-size:clamp(24px,2vw,31px)!important;line-height:1.08!important;
}

/* Gestión y Gerencia en SU PROPIO grid. Nunca se toca el grid original. */
.mep-extra-modules-0151{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
  margin-top:20px;margin-bottom:20px;
}
.mep-extra-module-0151{
  min-width:0;min-height:205px;padding:22px;border:1px solid #e48740;border-radius:18px;
  background:#fff;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(83,52,30,.035)
}
.mep-extra-icon-0151{
  width:44px;height:44px;border-radius:12px;background:#fff0e4;color:#b84c06;
  display:grid;place-items:center;margin-bottom:16px
}
.mep-extra-icon-0151 svg{width:23px;height:23px;stroke:currentColor}
.mep-extra-module-0151 h2{margin:0 0 8px;font-size:21px;color:#17243a}
.mep-extra-module-0151 .kicker{margin:0 0 8px;color:#b14d0c;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.mep-extra-module-0151 p{margin:0 0 16px;color:#68716c;font-size:13px;line-height:1.45}
.mep-extra-module-0151 button{align-self:flex-start;margin-top:auto}
.mep-old-management-home-0151{display:none!important}


@media(max-width:1100px){.mep-extra-modules-0151{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .brand-button{min-width:0!important}.brand-button span small{max-width:190px!important;font-size:9px!important}
  .mep-extra-modules-0151{grid-template-columns:1fr}
  .mep-hero-safe-0151{margin-bottom:18px!important}
}


/* v0.15.2 · Restaurar actualización operativa desde Excel */
.mep-data-update-home-0152,
.mep-data-update-home-0152.mep-old-management-home-0151{
  display:block!important;
  margin-top:22px!important;
  margin-bottom:20px!important;
}
.mep-data-update-home-0152 h2,
.mep-data-update-home-0152 h3{
  margin-bottom:8px!important;
}
.mep-data-update-home-0152 .mep-hide-duplicate-admin-0152{
  display:none!important;
}

/* Safety override: this block must remain visible even if v0.15.1 left the class behind. */
.mep-old-management-home-0151.mep-data-update-home-0152{
  display:block!important;
}


/* v0.15.4 · Egreso de estiba completa */
.mep-full-estiba-0154{
  margin:14px 0 18px;
  padding:16px;
  border:1px solid #efb27f;
  border-radius:14px;
  background:#fff8f1;
}
.mep-full-estiba-0154 h3{margin:0 0 5px;font-size:17px;color:#17243a}
.mep-full-estiba-0154 p{margin:0 0 13px;color:#69736d;font-size:12px;line-height:1.45}
.mep-full-estiba-grid-0154{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1.2fr) auto;gap:10px;align-items:end}
.mep-full-estiba-0154 label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#24322b}
.mep-full-estiba-0154 select,.mep-full-estiba-0154 input{height:42px;border:1px solid #dfd8d1;border-radius:9px;background:#fff;padding:0 11px;color:#26342d;font:inherit}
.mep-full-estiba-0154 button{height:42px;white-space:nowrap}
.mep-full-estiba-preview-0154{margin-top:10px;font-size:12px;color:#8a5938}
.mep-full-estiba-preview-0154 strong{color:#9e480f}
@media(max-width:850px){.mep-full-estiba-grid-0154{grid-template-columns:1fr}.mep-full-estiba-0154 button{width:100%}}
