/* Correções de navegação, leitura e densidade do painel. */
html body.premium-ui .ros-progress-fill.profit.negative {
  background: linear-gradient(90deg, #dc3545, #fb7185) !important;
}
html body.premium-ui #page-orders .ros-card-meta-box,
html body.premium-ui #page-orders .ros-device-name {
  color: #b8c9df !important;
  font-size: 12px !important;
}
html body.premium-ui #page-orders .ros-meta-row > span {
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: 12px !important;
}
@media (max-width: 768px) {
  html body.premium-ui.mc-ux-536 #page-orders #kanban.kanban-list-mode {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 12px !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders #kanban.kanban-list-mode .professional-column {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders #kanbanMobileNavigation.order-list-hidden {
    display: none !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders #orderSummaryStrip.order-summary-strip {
    margin: 8px 0 !important;
    gap: 6px !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders #orderSummaryStrip.order-summary-strip button {
    min-height: 44px !important;
    padding: 7px 9px !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders .workflow-overview {
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders .workflow-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 8px !important;
  }
  html body.premium-ui.mc-ux-536 #page-orders .workflow-overview-actions { width: auto !important; }
  /* Atualizar permanece disponível na lista expandida. */
  html body.premium-ui #page-orders .workflow-overview:not(.attention-expanded) .workflow-refresh { display: none !important; }
  html body.premium-ui.mc-ux-536 #page-orders .workflow-heading h3 { font-size: 13px !important; }
  html body.premium-ui.mc-ux-536 #page-orders .workflow-toggle { padding: 8px !important; font-size: 12px !important; }
  html body.premium-ui.mc-ux-536 #page-orders #ordersCounter { margin-bottom: 6px !important; }
  html body.premium-ui.mc-ux-536 #page-parts #stockSummary.stock-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  html body.premium-ui.mc-ux-536 #page-parts #stockSummary > div {
    min-width: 0 !important;
    padding: 12px !important;
    min-height: 84px !important;
    overflow-wrap: anywhere;
  }
}
