/* Small-screen campaign filters and document-scrolled order cards. */
@media(max-width:640px){
 @layer erpColorMode.overrides {
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-title {box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;width:100%!important;min-width:0!important;padding:12px!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-head-left {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 8px!important;width:100%!important;min-width:0!important;max-width:100%!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-head-left>b {min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-tools {box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-filter {box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;flex:initial!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-filter>span {flex:none!important;width:auto!important;margin:0!important;line-height:1.4!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-filter :is(select:not(.erp-choice-native),.erp-choice,.erp-select-host,.erp-choice-trigger,.erp-select-button) {box-sizing:border-box!important;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-filter select:not(.erp-choice-native) {padding:0 28px 0 10px!important;}
  html body.erp-system-ui.erp-beauty-v2.erp-beauty-v3 .main #click-ads #clickAdsCampaignTableCard .ca-history-table-filter :is(.erp-select-label,.erp-choice-trigger>span) {min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
 }
 @layer erpTableSpacing {
  html body.erp-system-ui .main #click-ads #clickAdsCampaignTableCard .ca-ref-table-wrap {box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;}
  html body.erp-system-ui .main #click-ads #clickAdsCampaignTableCard .ca-history-table {min-width:0!important;max-width:100%!important;width:100%!important;}
  html body.erp-system-ui .main #orders .legacy-table-wrap:has(>table[data-erp-mobile-table]) {overflow:visible!important;max-height:none!important;isolation:auto!important;-webkit-overflow-scrolling:auto!important;}
  html body.erp-system-ui .main #orders #orderRows,
  html body.erp-system-ui .main #orders #orderRows>tr {content-visibility:visible!important;contain:none!important;contain-intrinsic-size:none!important;will-change:auto!important;transform:none!important;}
 }
}
