/* Box Boy Web V5.8.26 — acabamento uniforme do tema escuro.
 * Preserva contraste do tema claro, cores de status e comportamento operacional.
 * O botão de 42px mantém área de toque: apenas os 3 traços diminuem 20%.
 */
body:not(.boxboy-theme-light){
  --bg:#071827;
  --bg2:#0a2030;
  --bb-bg:#071827;
  --bb-card:#0b2234;
  --bb-card-2:#0d273a;
  --bb-input:#0e2739;
  background:
    linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px),
    linear-gradient(180deg,#071827 0%,#061522 100%)!important;
  background-size:24px 24px,24px 24px,auto!important;
}
body:not(.boxboy-theme-light) .main-content{
  background:linear-gradient(180deg,#071827 0%,#061522 100%)!important;
}
/* O fundo da lista deve acompanhar o azul do cabeçalho, não o cinza antigo.
   Especificidade para neutralizar os estilos históricos mais fortes. */
body:not(.boxboy-theme-light) #ordersPanelPage .orders-panel-shell,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-panel-list,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-list-head-v5686,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-search-row,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-list-tabs,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-groups,
body:not(.boxboy-theme-light) #ordersPanelPage .orders-bulk-bar{
  background:#081b2b!important;
  background-image:none!important;
  background-size:auto!important;
}
body:not(.boxboy-theme-light) #ordersPanelPage .orders-panel-list{
  box-shadow:inset 1px 0 0 #1d3a4d!important;
}
body:not(.boxboy-theme-light) #ordersPanelPage .orders-group-body{
  background:#091d2d!important;
}
body:not(.boxboy-theme-light) #ordersPanelPage .orders-groups{
  scrollbar-color:#36556a #081b2b;
}
body:not(.boxboy-theme-light) #ordersPanelPage .orders-groups::-webkit-scrollbar-track{
  background:#081b2b;
}
/* Ajuste global em todas as abas — 23px x 17px vira ~18px x 14px. */
body #sidebarToggle.sidebar-toggle.sidebar-toggle-v5791>.sidebar-menu-glyph-v5791,
body.orders-ui-v588 #sidebarToggle.sidebar-toggle.sidebar-toggle-v5791>.sidebar-menu-glyph-v5791{
  width:18px!important;min-width:18px!important;max-width:18px!important;
  height:14px!important;min-height:14px!important;max-height:14px!important;
}
body #sidebarToggle.sidebar-toggle.sidebar-toggle-v5791>.sidebar-menu-glyph-v5791>i,
body.orders-ui-v588 #sidebarToggle.sidebar-toggle.sidebar-toggle-v5791>.sidebar-menu-glyph-v5791>i{
  width:18px!important;min-width:18px!important;max-width:18px!important;
  height:1.6px!important;min-height:1.6px!important;max-height:1.6px!important;
  flex:0 0 1.6px!important;
}
body #sidebarToggle.sidebar-toggle-v5791.is-expanded>.sidebar-menu-glyph-v5791>i,
body.orders-ui-v588 #sidebarToggle.sidebar-toggle-v5791.is-expanded>.sidebar-menu-glyph-v5791>i{
  width:18px!important;min-width:18px!important;max-width:18px!important;
}
