/* GISA ERP V1.9.1 — refinamento visual: menu claro e atalhos em destaque.
   Não altera regras de acesso, IDs, JavaScript operacional ou Firebase. */
body.gisa-site-erp .app-header{
  background:linear-gradient(180deg,#fdfaff 0%,#ffffff 45%,#faf5ff 100%)!important;
  border-right:1px solid #e9dafb!important;
  box-shadow:8px 0 28px rgba(79,18,145,.09)!important;
}
body.gisa-site-erp .logo-strip{
  background:linear-gradient(135deg,#8225d4 0%,#6c13c0 100%)!important;
  border-radius:0 0 22px 22px!important;
  padding:16px 13px 17px!important;
  min-height:126px!important;
}
body.gisa-site-erp .app-header .logo-strip .sidebar-logo{
  border-radius:17px!important;
  background:#fff!important;
  padding:7px!important;
  box-shadow:0 5px 20px rgba(30,5,73,.17)!important;
}
body.gisa-site-erp .system-row{
  background:#fff!important;
  border-bottom:1px solid #eee1fb!important;
  padding:14px 12px!important;
}
body.gisa-site-erp .system-actions button{
  background:#faf6ff!important;
  color:#6320a7!important;
  border:1px solid #e8d6fc!important;
  font-size:12px!important;
  font-weight:700!important;
  min-height:44px!important;
}
body.gisa-site-erp .system-actions button:first-child{
  background:linear-gradient(105deg,#ffe337,#ffcc20)!important;
  border:0!important;
  color:#4e178a!important;
}
body.gisa-site-erp .system-actions button.danger{
  background:#fff6f6!important;
  color:#c52c5d!important;
  border:1px solid #ffdce5!important;
}
body.gisa-site-erp .top-menu{gap:5px!important;padding:12px 13px 16px!important;background:transparent!important}
body.gisa-site-erp .top-menu button{
  background:transparent!important;
  color:#573b79!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  min-height:47px!important;
  font-size:13px!important;
  font-weight:650!important;
  box-shadow:none!important;
}
body.gisa-site-erp .top-menu button:hover{
  color:#5d11bb!important;
  background:#f3e8ff!important;
  border-color:#e4d2fb!important;
}
body.gisa-site-erp .top-menu button.active{
  color:#6610bc!important;
  background:linear-gradient(100deg,#f3e5ff,#f9f4ff)!important;
  border-color:#dbc0fa!important;
  box-shadow:0 5px 16px rgba(90,20,158,.08)!important;
}
body.gisa-site-erp .top-menu button .menu-ico{
  filter:invert(28%) sepia(35%) saturate(1607%) hue-rotate(237deg) brightness(87%)!important;
  width:22px!important;
  height:22px!important;
  flex-basis:22px!important;
}
body.gisa-site-erp .top-menu button.active .menu-ico,
body.gisa-site-erp .top-menu button:hover .menu-ico{
  filter:invert(16%) sepia(85%) saturate(3804%) hue-rotate(266deg) brightness(91%)!important;
}
body.gisa-site-erp .gisa-sidebar-foot{
  border-top:1px solid #ebddf7!important;
  margin:8px 13px 0!important;
  padding:14px 12px!important;
  color:#9272b0!important;
}
body.gisa-site-erp .gisa-sidebar-foot strong{color:#5c17b1!important}
body.gisa-site-erp .gisa-sidebar-mark{color:#812bdb!important}
/* Atalhos perto do topo, com ícones expressivos e boa leitura. */
body.gisa-site-erp .gisa-shortcuts-head{
  margin:1px 0 12px!important;
  align-items:center!important;
}
body.gisa-site-erp .gisa-shortcuts-head small{color:#9c54c3!important;font-size:11px!important}
body.gisa-site-erp .gisa-shortcuts-head h2{font-size:23px!important;color:#48127b!important}
body.gisa-site-erp .gisa-shortcuts{
  gap:12px!important;
  margin:0 0 24px!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body.gisa-site-erp .gisa-shortcut{
  gap:9px!important;
  min-height:120px!important;
  padding:15px 9px!important;
  border-width:1px!important;
  border-radius:20px!important;
  font-size:13px!important;
  font-weight:800!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
body.gisa-site-erp .gisa-shortcut:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 12px 28px rgba(92,31,163,.13)!important;
}
body.gisa-site-erp .gisa-shortcut img{
  width:40px!important;height:40px!important;
  max-width:40px!important;max-height:40px!important;
  object-fit:contain!important;
}
body.gisa-site-erp .gisa-shortcut b{font-size:13px!important;line-height:1.25!important}
body.gisa-site-erp .gisa-shortcut.shortcut-green{background:#efffe9!important;color:#187d27!important;border-color:#bcebaf!important}
body.gisa-site-erp .gisa-shortcut.shortcut-purple{background:#f3e8ff!important;color:#6413bc!important;border-color:#d8bcfb!important}
body.gisa-site-erp .gisa-shortcut.shortcut-blue{background:#e9f3ff!important;color:#116db8!important;border-color:#b9d8ff!important}
body.gisa-site-erp .gisa-shortcut.shortcut-orange{background:#fff0dc!important;color:#ac5700!important;border-color:#ffd9a9!important}
body.gisa-site-erp .gisa-shortcut.shortcut-pink{background:#ffedf6!important;color:#b7136c!important;border-color:#ffc9df!important}
body.gisa-site-erp .gisa-shortcut.shortcut-violet{background:#f0eaff!important;color:#7238b7!important;border-color:#d6c5ff!important}
/* Adaptação do menu e grade para notebooks, tablets e celulares */
@media(max-width:1400px){
  body.gisa-site-erp .gisa-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.gisa-site-erp .gisa-shortcut{min-height:96px!important;flex-direction:row!important;justify-content:flex-start!important;padding:12px 14px!important}
  body.gisa-site-erp .gisa-shortcut img{width:32px!important;height:32px!important}
}
@media(max-width:900px){
  body.gisa-site-erp .app-header{background:#fff!important}
  body.gisa-site-erp.mobile-menu-open .system-row{
    display:block!important;background:#fff!important;color:#4a1979!important;
  }
  body.gisa-site-erp.mobile-menu-open .top-menu{
    display:grid!important;background:#fff!important;grid-template-columns:1fr!important;
  }
  body.gisa-site-erp.mobile-menu-open .top-menu button{
    color:#573b79!important;background:transparent!important;
  }
  body.gisa-site-erp.mobile-menu-open .top-menu button.active{
    color:#6610bc!important;background:#f3e5ff!important;
  }
  body.gisa-site-erp .gisa-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){
  body.gisa-site-erp .gisa-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.gisa-site-erp .gisa-shortcut{min-height:92px!important;flex-direction:column!important;justify-content:center!important;gap:7px!important;padding:10px!important}
  body.gisa-site-erp .gisa-shortcut img{width:34px!important;height:34px!important}
  body.gisa-site-erp .gisa-shortcut b{font-size:12px!important}
  body.gisa-site-erp .gisa-shortcuts-head h2{font-size:19px!important}
}
