/* Screen-only: no changes to printed tables or business calculations. */
@media screen and (max-width:800px){
 .app-shell .dashboard,.app-shell .dashboard .panel{min-width:0}
 .app-shell .dashboard .mobile-table-scroll{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
 .app-shell .dashboard .mobile-table-scroll:focus-visible{outline:2px solid #207397;outline-offset:2px}
 .app-shell .dashboard table.mobile-table-ready{table-layout:auto!important;min-width:var(--mobile-table-width)!important;width:max(100%,var(--mobile-table-width))!important;max-width:none!important}
 .app-shell .dashboard table.mobile-table-ready :is(th,td){box-sizing:border-box;padding:9px 10px!important;font-size:13px!important;line-height:1.45!important;vertical-align:top;word-break:normal;overflow-wrap:break-word;white-space:normal}
 .app-shell .dashboard table.mobile-table-ready th{font-size:12px!important;letter-spacing:0;white-space:nowrap!important}
 .app-shell .dashboard table.mobile-table-ready .mobile-cell-description :is(a,strong,small,p,span){overflow-wrap:break-word;word-break:normal}
 .app-shell .dashboard table.mobile-table-ready :is(.mobile-cell-number,.mobile-cell-date,.mobile-cell-money,.mobile-cell-code){white-space:nowrap!important;overflow-wrap:normal!important}
 .app-shell .dashboard table.mobile-table-ready .mobile-cell-description{min-width:190px}
 .app-shell .dashboard table.mobile-table-ready .mobile-cell-status{min-width:150px;text-align:center}
 .app-shell .dashboard table.mobile-table-ready .mobile-cell-actions{min-width:150px;text-align:center}
 .app-shell .dashboard table.mobile-table-ready .mobile-cell-actions .actions{display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;margin:0}
 .app-shell .dashboard table.mobile-table-ready .button{white-space:nowrap!important;line-height:1.4!important;min-height:36px;font-size:12px!important;padding:7px 10px!important;display:inline-flex;align-items:center;justify-content:center}
 .app-shell .dashboard table.mobile-table-ready :is(input,select,textarea){max-width:100%;box-sizing:border-box;font-size:14px!important}
 .app-shell .dashboard table.mobile-table-ready input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.app-shell .dashboard table.mobile-table-ready select{min-width:110px;min-height:40px}
 .app-shell .dashboard table.mobile-table-ready input[type="date"]{min-width:150px}
 .app-shell .dashboard table.mobile-table-small{width:100%;table-layout:auto}
 .app-shell .dashboard table.mobile-table-small :is(th,td){padding:9px 10px;word-break:normal;overflow-wrap:break-word}
 .app-shell .dashboard form.list-search-aligned{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;align-items:end;width:100%;min-width:0}
 .app-shell .dashboard form.list-search-aligned>label,.app-shell .dashboard form.list-search-aligned>.field{min-width:0;width:auto;max-width:none;margin:0}
 .app-shell .dashboard form.list-search-aligned>label:first-of-type{grid-column:1/-1}
 .app-shell .dashboard form.list-search-aligned :is(input,select){min-width:0;width:100%;max-width:100%}
 .app-shell .dashboard form.list-search-aligned>.button{justify-content:center;min-width:0;margin:0}
 .app-shell .dashboard :is(.invoice-list-footer,.incentive-history-pagination,.pagination){max-width:100%;flex-wrap:wrap;gap:8px}
 .app-shell .dashboard .invoice-list-footer>label{flex-wrap:wrap}
}
@media screen and (max-width:360px){
 .app-shell .dashboard form.list-search-aligned{grid-template-columns:minmax(0,1fr)!important}
}

@media screen and (max-width:800px){
 .app-shell .dashboard table th{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
 .app-shell .dashboard table th br{display:none}
 .app-shell .dashboard table :is(.mobile-cell-actions,.table-action-cell){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 .app-shell .dashboard table :is(.mobile-cell-actions,.table-action-cell)>:is(.actions,.payment-row-actions,.project-detail-links,.vendor-row-actions,.user-row-actions){display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:max-content!important;max-width:none!important;gap:10px;align-items:center}
 .app-shell .dashboard table :is(.mobile-cell-actions,.table-action-cell) :is(a,button){white-space:nowrap!important;flex-shrink:0}
}
