/* Scoped screen rules take precedence over earlier per-theme !important sizes. */
@layer workspaceNov3 {
 @media screen {
  #desktopToolbar .vx-shortcut:not([data-overflow]) {display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:54px!important;max-width:none!important}
  #desktopToolbar .vx-shortcut[data-overflow] {display:none!important}
  #desktopToolbar .vx-shortcut:not(.review-more-shortcut)>button {width:auto!important;min-width:44px!important;max-width:none!important}
  #desktopToolbar .review-more-shortcut>details,#desktopToolbar .review-more-shortcut summary {position:static!important;width:auto!important;min-width:max-content!important;height:auto!important;display:block!important}
  #desktopToolbar .review-more-shortcut summary {line-height:1.45!important;padding:7px 8px!important}
  :is(#desktopToolbar,#mainNav) .vx-dropdown[popover] {position:fixed!important;right:auto!important;bottom:auto!important;margin:0!important}
  .sales-register-main .table-wrap table tfoot :is(th,td),.sales-register-main .table-wrap :is(tfoot,tfoot tr){position:static!important;inset:auto!important}
  .sales-register-main>.report-top-totals {position:static!important;inset:auto!important;margin-block:8px!important}
  .inc-header.rwc-caption .inc-actions {display:flex!important;position:static!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;max-width:100%!important}
  .inc-header.rwc-caption .inc-actions>button {position:static!important;inset:auto!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;height:auto!important;min-height:30px!important;padding:4px 9px!important;line-height:1.4!important;white-space:nowrap!important}
  .inc-header.rwc-caption {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important;height:auto!important;min-height:52px!important;padding-inline:122px 50px!important}
  .cw-statement-layout:has(#cw-filter-form) {grid-template-columns:minmax(162px,12.5rem) minmax(0,1fr)!important}
  .cw-filters:has(#cw-filter-form) {width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important}
  #cw-filter-form :is(label,input,select,button,.master-combo){box-sizing:border-box!important;max-width:100%!important;width:100%!important;min-width:0!important}
  #cw-filter-form label,#cw-filter-form button{height:auto!important;line-height:1.55!important;white-space:normal!important}
  .trial-report .table-wrap{max-width:100%!important;overflow-x:auto!important}
  @media(max-width:1250px){
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]){width:100%!important;max-width:100%!important;min-width:28rem!important;table-layout:fixed!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) :is(th,td,col){width:auto!important;min-width:0!important;max-width:none!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) :is(th,td){overflow:visible!important;text-overflow:clip!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) :is(th,col):first-child{width:12%!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) :is(th,col):nth-child(2){width:23%!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) :is(td.amount,td.trial-nature){font-size:clamp(12px,1vw,14px)!important;padding-inline:2px!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) .amount{overflow-wrap:anywhere!important;white-space:normal!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) th {white-space:normal!important;line-height:1.4!important}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) td.amount {font-variant-numeric:tabular-nums}
   .trial-table[data-trial-view=compact]:not([data-trial-custom-widths]) td .account-link{white-space:normal!important;min-width:0!important}
  }
  @media(max-width:650px){
   .cw-statement-layout:has(#cw-filter-form){display:flex!important;flex-direction:column!important}
   .cw-filters:has(#cw-filter-form){width:100%!important}
   .inc-header.rwc-caption{padding:42px 9px 8px!important}
  }
 }
}
