/* R2.9.5.3 万达商管界面校正：修复顶部重复版本/侧栏遮挡、恢复铺位亮灯、稳定财务双层表头。 */
body.r2953-wanda-fix{--r2953-header-h:56px}

/* 顶部：只保留一处版本，压缩 Logo 与系统标题，避免挤占业务区。 */
.r2953-wanda-fix header{height:var(--r2953-header-h);box-sizing:border-box;padding:4px 12px!important}
.r2953-wanda-fix .header-inner{height:48px;min-height:48px!important;flex-wrap:nowrap!important;gap:12px!important}
.r2953-wanda-fix .brand-block{gap:10px!important;min-width:0}
.r2953-wanda-fix .header-logo-wrap{width:154px!important;height:44px!important;box-sizing:border-box;padding:3px 6px!important;border-radius:2px!important;box-shadow:none!important;flex:0 0 154px}
.r2953-wanda-fix .header-logo{width:140px!important;height:34px!important;max-width:140px!important;max-height:34px!important;object-fit:contain}
.r2953-wanda-fix .header-title{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.r2953-wanda-fix .header-title h1{font-size:18px!important;line-height:1.2;margin:0!important;white-space:nowrap}
.r2953-wanda-fix .header-title p{font-size:10px!important;line-height:1;margin:0!important;color:#7a8999!important;white-space:nowrap}
.r2953-wanda-fix .header-actions{gap:4px!important;flex-wrap:nowrap!important;margin-left:auto}
.r2953-wanda-fix .header-actions button{padding:5px 8px!important;min-height:30px;font-size:11px!important;white-space:nowrap}
.r2953-wanda-fix .workspace-page-badge{display:none!important}

/* 侧栏严格从 header 下方开始，修复顶部菜单被遮住/截断。 */
.r2953-wanda-fix .workspace-layout{min-height:calc(100vh - var(--r2953-header-h))!important}
.r2953-wanda-fix .workspace-sidebar{top:var(--r2953-header-h)!important;min-height:calc(100vh - var(--r2953-header-h))!important;max-height:calc(100vh - var(--r2953-header-h))!important;scrollbar-width:thin}

/* 基础信息：恢复原有“亮灯/累计欠缴/月到期提醒”三列。预警大卡仍留在运营管理，不重复。 */
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table th:nth-child(2),
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table td:nth-child(2),
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table th:nth-child(3),
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table td:nth-child(3),
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table th:nth-child(4),
.r2953-wanda-fix #panel-shops .assets-table.r2952-pure-master-table td:nth-child(4){display:table-cell!important}
.r2953-wanda-fix #panel-shops .assets-table{min-width:1380px!important}
.r2953-wanda-fix #panel-shops .shop-signal-cell{width:62px;min-width:62px}
.r2953-wanda-fix #panel-shops .shop-arrears-cell{width:86px;min-width:86px}
.r2953-wanda-fix #panel-shops .shop-expiry-cell{width:88px;min-width:88px}
.r2953-wanda-fix #panel-shops .shop-signal-light{width:25px;height:25px}
.r2953-wanda-fix #panel-shops .shop-signal-light i{width:12px;height:12px}

/* 财务商户账务：双层分组表头必须成套固定，避免滚动后只剩 A/B/C/D/E/F 第二层。 */
.r2953-wanda-fix #panel-merchantFinance .merchant-finance-wrap{position:relative;overflow:auto!important}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table{min-width:1810px!important;width:1810px!important;table-layout:fixed}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:first-child th{position:sticky;top:0;z-index:8;height:34px;box-sizing:border-box;background:#3f8fc6!important}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:nth-child(2) th{position:sticky;top:34px;z-index:8;height:34px;box-sizing:border-box;background:#4a98cd!important}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead th[rowspan="2"]{vertical-align:middle}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table tbody td:nth-child(1){width:72px}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table tbody td:nth-child(2){width:300px;white-space:normal;line-height:1.35}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table tbody td:nth-child(3){width:250px;white-space:normal;line-height:1.35}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table tbody td:nth-child(n+4):nth-child(-n+13){width:108px;text-align:right;font-variant-numeric:tabular-nums}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table tbody td:nth-child(14){width:108px}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:first-child th:nth-child(1){width:72px}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:first-child th:nth-child(2){width:300px}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:first-child th:nth-child(3){width:250px}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table thead tr:nth-child(2) th{min-width:108px}

/* 表格更接近传统商管后台：表头完整、数字不被截断。 */
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table th{line-height:1.2;white-space:normal!important;padding:6px 5px!important}
.r2953-wanda-fix #panel-merchantFinance .r2952-wanda-finance-table td{padding:6px 6px!important}

@media(max-width:1100px){
  .r2953-wanda-fix .header-title p{display:none}
  .r2953-wanda-fix .header-actions button{padding:5px 6px!important;font-size:10px!important}
}
@media(max-width:980px){
  .r2953-wanda-fix header{height:auto}
  .r2953-wanda-fix .header-inner{height:auto}
  .r2953-wanda-fix .workspace-sidebar{top:auto!important;min-height:auto!important;max-height:none!important}
}
