/* ASN ERP 4.9.34 — fix the ACTUAL asynchronous v490 sidebar, not the legacy markup.
 * Only index.html. Other ERP screens retain their existing navigation.
 * Collapsed desktop menu, with a real expand button to retain company/settings/modules.
 */
html.asn-v4934-home {--asn-home-side:102px;--asn-home-wide:260px}
/* V4.9.92: regras antigas da barra lateral desta tela foram removidas.
   Todas as telas usam asn-sidebar-v4992.css. Preservamos abaixo apenas
   os estilos especificos dos filtros e graficos do dashboard. */
@media(min-width:901px){
 html.asn-v4934-home body.asn-nav-ready .main-content.dashboard-v34-shell{
  padding:14px 20px 24px!important;min-width:0!important;position:relative!important;overflow:visible!important;
 }
 html.asn-v4934-home body.asn-nav-ready .dashboard-v34{min-width:0!important;width:100%!important;max-width:100%!important}
}
@media(max-width:1150px) and (min-width:901px){
 html.asn-v4934-home .dashboard-v34 .asn-v4933-toolbar .v34-filter-main{
  grid-template-columns:repeat(2,minmax(0,1fr))!important
 }
 html.asn-v4934-home .dashboard-v34 .asn-v4933-toolbar .asn-dashboard-tools-v458 {grid-column:1/-1!important}
}
@media(max-width:900px){
 html.asn-v4934-home body.asn-nav-ready .main-content.dashboard-v34-shell{
  margin-left:0!important;width:100%!important;max-width:100vw!important;
  min-width:0!important;padding:73px 12px 24px!important;overflow-x:clip!important
 }
 html.asn-v4934-home body.asn-nav-ready .dashboard-v34{max-width:100%!important;min-width:0!important}
 .asn-v4934-sidebar-button{display:none!important}
}
@media(max-width:650px){
 html.asn-v4934-home .dashboard-v34 .asn-v4933-toolbar .v34-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 html.asn-v4934-home .dashboard-v34 .asn-v4933-toolbar .v34-filter-main .v34-platform-filter{min-width:0!important}
 html.asn-v4934-home .dashboard-v34 .asn-v4933-toolbar .v34-filter-main .asn-dashboard-tools-v458{grid-column:1/-1!important}
 html.asn-v4934-home .dashboard-v34 .v34-kpi-grid>.v34-kpi{width:100%!important}
 html.asn-v4934-home .dashboard-v34 .v34-kpi-grid .v34-kpi-value{overflow:hidden;text-overflow:ellipsis}
}

/* Legacy status is informative, but NEVER a grid child of the filter header. */
html.asn-v4934-home .dashboard-v34>.asn-v4933-toolbar{margin-bottom:10px!important}
html.asn-v4934-home .dashboard-v34>#dashboard-cloud-status-v350{
 display:block!important;position:relative!important;width:100%!important;max-width:100%!important;
 font-size:10px!important;line-height:1.4!important;white-space:normal!important;
 margin:0 0 10px!important;padding:8px 10px!important;border-radius:8px!important;
 border:1px solid #314356!important;background:#0c1723!important;color:#abc0d3!important;
}

/* Search, theme and old accessibility shortcuts were never removed. */
html.asn-v4934-home .dashboard-v34>.asn-v4934-panel-utilities{
 margin:12px 0 26px!important;padding:11px 14px!important;background:#101c29!important;
 border:1px solid #32475a!important;border-radius:12px!important;color:#b7cbdb!important
}
html.asn-v4934-home .asn-v4934-panel-utilities>summary{cursor:pointer;font-size:12px!important;font-weight:700!important;color:#d4e1ed!important}
html.asn-v4934-home .asn-v4934-panel-utilities-inner{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:15px;margin-top:12px!important;align-items:start}
html.asn-v4934-home .asn-v4934-panel-utilities .asn-v486-global-search{display:flex!important;position:relative!important;width:100%!important;max-width:100%!important;margin:0!important}
html.asn-v4934-home .asn-v4934-panel-utilities .asn-v487-actions{display:block!important;position:relative!important}
html.asn-v4934-home .asn-v4934-panel-utilities .asn-v487-action-list{position:relative!important;display:flex!important;flex-wrap:wrap;gap:6px;max-width:100%!important}
@media(max-width:650px){html.asn-v4934-home .asn-v4934-panel-utilities-inner{grid-template-columns:1fr!important}}
