*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;overflow:hidden}body{color:#333;background:#eef1f6;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}a{color:inherit;text-decoration:none}.app-wrapper{flex-direction:column;height:100vh;display:flex}.app-loading{background:#eef1f6;justify-content:center;align-items:center;height:100vh;display:flex}.main-header{z-index:100;background:#001529;flex-shrink:0;height:56px}.header-inner{align-items:center;max-width:100%;height:100%;padding:0 20px;display:flex}.header-brand{flex-shrink:0;align-items:center;gap:10px;margin-right:28px;display:flex}.brand-logo{color:#fff;background:#ffffff1f;border:1px solid #ffffff26;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;font-weight:700;display:flex}.brand-title{color:#fffffff2;letter-spacing:.5px;white-space:nowrap;font-size:15px;font-weight:600}.header-nav{scrollbar-width:none;flex:1;align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.header-nav::-webkit-scrollbar{display:none}.nav-item{color:#ffffffa6;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;gap:6px;height:36px;padding:0 16px;font-family:inherit;font-size:14px;transition:color .2s,background .2s;display:inline-flex}.nav-item .anticon{font-size:15px}.nav-item:hover{color:#fff;background:#ffffff14}.nav-item--active{color:#fff;background:#ffffff26;font-weight:500}.header-right{flex-shrink:0;margin-left:20px}.user-trigger{cursor:pointer;border-radius:6px;align-items:center;gap:8px;height:36px;padding:0 12px;transition:background .2s;display:flex}.user-trigger:hover{background:#ffffff14}.user-name{color:#ffffffd9;font-size:13px}.user-arrow{color:#ffffff73;font-size:10px!important}.app-body{flex:1;display:flex;overflow:hidden}.app-sider{background:#fff;border-right:1px solid #e6e9f0;flex-direction:column;flex-shrink:0;width:200px;transition:width .2s;display:flex;overflow-y:auto}.app-sider--collapsed{width:72px}.sider-top{flex-shrink:0;justify-content:flex-end;align-items:center;padding:12px 12px 4px;display:flex}.sider-toggle{cursor:pointer;color:#8c8c8c;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;transition:all .2s;display:inline-flex}.sider-toggle:hover{color:#1677ff;background:#f0f5ff}.sider-menu .ant-menu-item{font-size:14px;border-radius:6px!important;height:40px!important;margin:2px 8px!important;line-height:40px!important}.sider-menu .ant-menu-item-selected{font-weight:500}.app-main{background:#eef1f6;flex-direction:column;flex:1;display:flex;overflow-y:auto}.app-toolbar{background:#fff;border-bottom:1px solid #e6e9f0;flex-shrink:0;padding:12px 24px}.app-content{flex:1;padding:20px 24px 24px}.row-overdue td,.bill-row-overdue td{background:#fff7f6!important}.row-overdue td:first-child,.bill-row-overdue td:first-child{box-shadow:inset 3px 0 #ff4d4f}.excel-preview{background:#fff;max-width:900px;margin:0 auto;padding:24px;overflow-x:auto}.excel-preview table{border-collapse:collapse;table-layout:fixed}.excel-preview td{vertical-align:middle;word-break:break-word;padding:4px 6px}.excel-preview img{max-width:100%}body:has(.print-page){background:#fff!important;height:auto!important;overflow:auto!important}.print-page{background:#fff;min-height:100vh}.print-page .excel-preview{max-width:800px;margin:0 auto;padding:40px 32px}@media print{html,body{background:#fff!important;height:auto!important;overflow:visible!important}.main-header,.app-sider,.app-toolbar,.no-print{display:none!important}.app-wrapper,.app-body,.app-main,.app-content{background:#fff!important;height:auto!important;padding:0!important;display:block!important;overflow:visible!important}.ant-card{box-shadow:none!important;border:none!important}.excel-preview{max-width:100%;padding:16px}.excel-preview td{print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-page{min-height:auto}.print-page .excel-preview{max-width:100%;padding:0}.print-page .excel-preview tr{break-inside:avoid}@page{size:A4 portrait;margin:12mm 10mm}}
