html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}:root,:root[data-theme=light]{--bg-page: #f5f6f8;--text-base: #1f2329;--header-bg: #ffffff;--sider-bg: #ffffff;--header-text: #1f2329;--header-border: #e8e8e8;--header-hover: rgba(0, 0, 0, .04);--muted: #8a9099;--code-bg: #f2f3f5;--border: #e5e6eb;--border-subtle: #eef0f4;--panel-bg: #ffffff;--panel-border: #eef0f4;--selected-bg: rgba(47, 84, 235, .1);--primary: #2f54eb;--color-background-primary: #ffffff;--color-border-tertiary: #eef0f4;--color-text-primary: #1f2329;--color-text-secondary: #8a9099}:root[data-theme=dark]{--bg-page: #0f1115;--text-base: rgba(255, 255, 255, .85);--header-bg: #0f1115;--sider-bg: #0f1115;--header-text: rgba(255, 255, 255, .85);--header-border: rgba(255, 255, 255, .08);--header-hover: rgba(255, 255, 255, .12);--muted: #9aa6b2;--code-bg: rgba(255, 255, 255, .12);--border: rgba(255, 255, 255, .12);--border-subtle: rgba(255, 255, 255, .12);--panel-bg: #161a22;--panel-border: rgba(255, 255, 255, .08);--selected-bg: rgba(47, 84, 235, .2);--primary: #597ef7;--color-background-primary: #161a22;--color-border-tertiary: rgba(255, 255, 255, .08);--color-text-primary: rgba(255, 255, 255, .85);--color-text-secondary: #9aa6b2}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:var(--bg-page);color:var(--text-base)}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.toolbar h2{margin:0;font-size:16px;font-weight:600}.divider{width:1px;height:18px;background:var(--border);flex:0 0 auto}.grow{flex:1 1 auto}.hint{font-size:12px;color:var(--muted)}.muted{color:var(--muted);font-size:12px}.ant-form .ant-form-item .ant-form-item-label>label{padding-left:14px}.ant-form .ant-form-item .ant-form-item-label>label.ant-form-item-required:before{position:absolute;left:0;top:50%;transform:translateY(-50%);margin-inline-end:0}.panel-card{margin-bottom:12px}.drawer-alert{margin-bottom:16px}.drawer-footer{display:flex;justify-content:flex-end;gap:8px}.ft-page{display:flex;flex-direction:column;height:calc(100vh - 96px);max-height:100%;min-height:0;overflow:hidden}.ft-head{flex:0 0 auto}.ft-scroll{flex:1 1 0%;min-width:0;min-height:0;overflow:auto}.ft-scroll.ft-bottom{display:flex;flex-direction:column}.ft-scroll.ft-bottom>.ant-table-wrapper,.ft-scroll.ft-bottom>.ant-table-wrapper>.ant-spin-nested-loading,.ft-scroll.ft-bottom>.ant-table-wrapper .ant-spin-container,.ft-scroll.ft-bottom>.ant-table-wrapper .ant-table{flex:1 0 auto;display:flex;flex-direction:column}.ft-scroll.ft-bottom .ant-table-wrapper .ant-table-pagination{position:sticky;bottom:0;z-index:5;margin:auto 0 0;padding:10px 14px;background:var(--panel-bg);border-top:1px solid var(--panel-border)}.tbl-empty-mode .ant-table-container,.tbl-empty-mode .ant-table-content{flex:1 0 auto;display:flex;flex-direction:column}.tbl-empty-mode .ant-table-content>table{height:100%}.tbl-empty-mode .ant-table-content{overflow-x:hidden}.tbl-empty-mode .ant-table-placeholder>td{height:100%;padding:0;border-bottom:none}.tbl-empty{height:100%;min-height:240px;display:flex;align-items:center;justify-content:center}.ant-table-thead>tr>th,.ant-table-thead>tr>th .ant-table-column-title{white-space:nowrap!important}.ft-table .ant-table table{min-width:var(--ft-min-width, 0px)}.ft-table .ant-table-thead>tr>th:last-child,.ft-table .ant-table-tbody>tr>td:last-child{position:sticky;right:0;z-index:3;background:var(--panel-bg)!important;border-left:1px solid var(--panel-border)}.ft-table .ant-table-tbody>tr>td:last-child .ant-btn-link{padding-inline:0;margin:0 10px 0 0}.ant-drawer.drawer-body-flex .ant-drawer-body{display:flex;flex-direction:column;min-height:0}.ant-drawer.drawer-body-flex .ant-drawer-body .ant-table-wrapper,.ant-drawer.drawer-body-flex .ant-drawer-body .ant-spin-nested-loading,.ant-drawer.drawer-body-flex .ant-drawer-body .ant-spin-container{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.ant-drawer.drawer-body-flex .ant-drawer-body .ant-table{flex:1 1 auto;display:flex;flex-direction:column}.ant-drawer.drawer-body-flex .ant-drawer-body .ant-table-pagination.ant-pagination{position:sticky;bottom:0;z-index:5;margin:auto 0 0;padding:10px 0 0;background:var(--panel-bg)}.ant-drawer.drawer-body-flex .ant-drawer-body .ant-table-placeholder,.ant-drawer.drawer-body-flex .ant-drawer-body .ant-empty{flex:1 1 auto}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.stat-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;background:var(--panel-bg);border:1px solid var(--border-subtle);border-radius:8px}.stat-card.clickable{cursor:pointer}.stat-card.clickable:hover{border-color:var(--primary)}.st-label{font-size:12px;color:var(--muted)}.st-value{font-size:22px;line-height:28px;color:var(--text-base)}.st-foot{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.st-foot b{font-size:12px;font-weight:500}.trend-up{color:#f5222d}.trend-down{color:#52a563}.chart-legend{display:flex;gap:16px;font-size:12px;color:var(--muted);margin-bottom:8px}.chart-legend .dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}.dot.income{background:#2f54eb}.dot.expense{background:#faad14}.chart{display:flex;align-items:flex-end;gap:16px;height:180px;padding:8px 4px 0}.bar-group{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%}.bars{flex:1 1 auto;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px}.bar{display:block;width:16px;border-radius:3px 3px 0 0;transition:height .3s}.bar.income{background:#2f54eb}.bar.expense{background:#faad14}.bar-label{font-size:11px;color:var(--muted)}.aging{display:flex;flex-direction:column;gap:10px;padding:8px 0 4px}.aging-row{display:flex;align-items:center;gap:12px;font-size:12px;padding:2px 4px;border-radius:4px}.aging-row.clickable{cursor:pointer}.aging-row.active{background:var(--selected-bg)}.ag-label{width:76px;flex:0 0 auto;color:var(--muted)}.ag-track{flex:1 1 auto;height:10px;background:var(--code-bg);border-radius:5px;overflow:hidden}.ag-track i{display:block;height:100%;background:#2f54eb}.ag-value{width:110px;flex:0 0 auto;text-align:right}.ag-percent{width:40px;flex:0 0 auto;text-align:right;color:var(--muted)}.rate-cell{display:flex;align-items:center;gap:8px}.rate-cell .ant-progress{flex:1 1 auto;min-width:0;margin:0}.rate-text{font-size:12px;color:var(--muted);flex:0 0 auto}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report-card{border-radius:8px}.report-desc{min-height:44px;font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}.report-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.report-foot .ant-tag{margin:0}.flow-note{margin:12px 0 0}.trace-steps{margin-top:20px}.trace-note{margin-top:12px;font-size:12px;line-height:1.6;color:var(--muted)}.drawer-section-title{font-size:13px;font-weight:600;margin:18px 0 8px;color:var(--text-base)}@media (max-width: 1024px){.stat-grid,.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 767px){.stat-grid,.stat-grid.two,.stat-grid.four,.report-grid{grid-template-columns:1fr}.chart{gap:6px}.bar{width:10px}}.ft-table .ant-table-thead>tr>th:last-child,.ft-table .ant-table-tbody>tr>td:last-child{white-space:nowrap}.ft-table .ant-table-tbody>tr>td:last-child .ant-space,.ft-table .ant-table-tbody>tr>td:last-child .ant-space-item,.ft-table .ant-table-tbody>tr>td:last-child .action-links{flex-wrap:nowrap;white-space:nowrap}.ft-table .ant-table-tbody>tr>td:last-child .ant-space-item{flex:0 0 auto}.ft-scroll.ft-bottom .ant-table-wrapper .ant-table .ant-table-container{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.ft-scroll.ft-bottom .ant-table-wrapper .ant-table .ant-table-content{flex:1 1 auto;min-height:0}.shell{width:100%;max-width:100vw}.shell .body,.shell .content{min-width:0;max-width:100%}.shell .content>*{min-width:0;max-width:100%}.cell-ellipsis{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell .ant-card,.shell .ant-form,.shell .ant-table-wrapper,.shell .ant-tabs,.shell .ant-descriptions,.shell .ant-list,.shell .ant-row,.shell .ant-col{max-width:100%;min-width:0}.shell .ant-table-content,.shell .ant-table-body{overflow-x:auto}.shell .ant-table{width:100%}.shell .ant-tabs-nav-wrap{min-width:0}.shell .ant-radio-group,.shell .ant-checkbox-group,.shell .ant-btn-group{max-width:100%;flex-wrap:wrap}.ant-modal,.ant-modal-content{max-width:calc(100vw - 24px)}.ant-drawer-content-wrapper{max-width:100vw}.ant-popover-inner,.ant-select-dropdown,.ant-dropdown-menu{max-width:calc(100vw - 24px)}@media (max-width: 1024px){.shell>.header{height:56px;line-height:56px;padding:0}.shell .logo,.shell .logo.is-collapsed{padding-left:12px!important;gap:4px}.shell .logo-text{font-size:13px}.shell .right{gap:4px;padding-right:8px!important}.shell .right .who{max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:4px 6px}.shell .right .theme-toggle{width:28px;min-width:28px;height:28px}.shell .sider.ant-layout-sider{position:fixed!important;top:56px;left:0;bottom:0;height:calc(100vh - 56px);z-index:1001;width:208px!important;min-width:208px!important;max-width:208px!important;flex:0 0 208px!important;transform:translate(-100%);transition:transform .22s ease;box-shadow:none}.shell .sider.ant-layout-sider:not(.ant-layout-sider-collapsed){transform:translate(0);box-shadow:6px 0 24px #0000004d}.shell .sider.ant-layout-sider.ant-layout-sider-collapsed{width:0!important;min-width:0!important;max-width:0!important;flex-basis:0!important;overflow:hidden}.shell .body:has(>.sider:not(.ant-layout-sider-collapsed)):before{content:"";position:fixed;top:56px;right:0;bottom:0;left:0;background:#0f121a7a;z-index:1000}.shell .content{padding:12px}}@media (max-width: 768px){.shell .content{padding:10px}.shell .stat-grid,.shell .stats,.shell .metric-grid,.shell .chart-grid,.shell .config-grid,.shell .setting-grid,.shell .five-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}.shell .approval-nav-sider{width:100%!important;min-width:0!important;max-width:100%!important;flex:0 0 auto!important;height:auto!important;border-right:0!important;border-bottom:1px solid var(--border, rgba(128, 128, 128, .25))}.shell .at-root{flex-direction:column}.shell .approval-nav-tree{max-height:180px;overflow-y:auto}.shell .at-content{min-width:0;width:100%}.shell .ant-descriptions-item{padding-bottom:8px}.shell [style*=--ft-min-width] .ant-table table{min-width:var(--ft-min-width, 0px)!important}}@media (max-width: 640px){.shell>.header{height:52px;line-height:52px}.shell .sider.ant-layout-sider{top:52px;height:calc(100vh - 52px)}.shell .body:has(>.sider:not(.ant-layout-sider-collapsed)):before{top:52px;right:0;bottom:0;left:0}.shell .right .who{max-width:76px}.shell .right .caret{display:none}.shell .content{padding:8px}.shell .stat-grid,.shell .stats,.shell .metric-grid,.shell .chart-grid,.shell .config-grid,.shell .setting-grid,.shell .five-columns,.shell .main-grid,.shell .wm-layout,.shell .legend-row,.shell .horizontal-row,.shell .amount-row{grid-template-columns:minmax(0,1fr)!important}.shell .page-heading,.shell .ant-page-header-heading-title{white-space:normal!important}.shell .ac-app-info{min-width:0}.shell .stat-card .ant-card-body{min-height:96px!important;padding:12px!important}.shell .app-row{grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px}.shell .app-row>:nth-child(2),.shell .app-row>:nth-child(4){display:none}}@media (max-width: 480px){.shell .logo-text{max-width:84px;overflow:hidden;text-overflow:ellipsis}.shell .content{padding:6px}.ant-modal,.ant-modal-content{max-width:calc(100vw - 12px)}}
