/* Keep intrinsic table widths inside their own scroll containers, including RTL mobile. */
body.manager-dashboard-page .shell,body.manager-dashboard-page main,body.manager-dashboard-page #content,#managerDashboard,#managerDashboard .md-workspace,#managerDashboard .md-debts,#managerDashboard #mdReport,#managerDashboard #mdDetails,#managerDashboard #mdDebtTable,#managerDashboard #mdDebtDetails,#managerDashboard .md-table-shell{min-width:0!important;max-width:100%!important;box-sizing:border-box}
body.manager-dashboard-page #content{grid-template-columns:minmax(0,1fr)}
#managerDashboard{width:100%;touch-action:pan-x pan-y pinch-zoom}
#managerDashboard .md-table-shell{width:100%;margin:8px 0;overflow:visible}
#managerDashboard .md-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto!important;overflow-y:auto;direction:rtl;touch-action:pan-x pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#6b9baf #eaf0f5;isolation:isolate}
#managerDashboard .md-table-wrap:focus-visible{outline:2px solid #087f82;outline-offset:2px}
#managerDashboard .md-table-wrap>table{display:table;width:max-content!important;min-width:100%;max-width:none!important;table-layout:auto;overflow:visible;touch-action:pan-x pan-y pinch-zoom}
#managerDashboard .md-table-wrap th,#managerDashboard .md-table-wrap td{min-width:115px;max-width:none;white-space:nowrap;background:#fff}
#managerDashboard .md-table-wrap th{background:#f4f7fa;z-index:3}
#managerDashboard .md-table-wrap th:first-child,#managerDashboard .md-table-wrap td:first-child{position:sticky;inset-inline-start:0;right:0;z-index:2;width:155px;min-width:155px;max-width:190px;white-space:normal;overflow-wrap:anywhere;background:#f1f6fc;box-shadow:-3px 0 4px #1937551c}
#managerDashboard .md-table-wrap th:first-child{z-index:4;background:#183153;color:#fff}
#managerDashboard .md-table-wrap .md-debt-total td{background:#e9f1f9}
#managerDashboard .md-table-wrap .md-debt-overdue{background:#fff6f3}
#managerDashboard .md-table-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;padding:7px 5px;background:#f5f9fc;border:1px solid #dfebf2;border-radius:9px 9px 0 0}
#managerDashboard .md-table-tools>span{font-size:10px;color:#546e81}
#managerDashboard .md-table-tools>div{display:flex;gap:4px;align-items:center}
#managerDashboard .md-table-tools button{min-width:40px;min-height:40px;padding:5px 9px;font-size:14px;touch-action:manipulation}
#managerDashboard .md-monitor-customer{border:1px solid #d7e3ed;border-radius:12px;margin:9px 0;padding:10px;background:#fff}
#managerDashboard .md-monitor-customer>summary{cursor:pointer;line-height:1.9}
#managerDashboard .md-monitor-customer>summary small{display:block;color:#586e80;font-size:12px}
#managerDashboard .md-monitor-note{padding:10px;color:#526b7e;background:#eef7ff;border-radius:9px;font-size:11px;line-height:1.9}
@media(max-width:760px){#managerDashboard .md-table-wrap th:first-child,#managerDashboard .md-table-wrap td:first-child{width:120px;min-width:120px;max-width:140px;font-size:11px}#managerDashboard .md-table-wrap{max-height:65dvh}#managerDashboard .md-table-tools{align-items:flex-start}#managerDashboard .md-table-tools>span{flex-basis:100%}#managerDashboard .md-table-tools button{min-height:44px}#managerDashboard .md-monitor-customer{padding:8px}body.manager-dashboard-page .shell{padding-inline:8px}}
