:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;color:#172b3e;background:#f3f6f9;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-width:1180px;min-height:100%;margin:0}body{min-height:100vh}.login-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(125deg,#0f3558fa,#1f597fe6),#163a5c}.login-card{width:420px;border:0;box-shadow:0 22px 60px #071a2c52}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:22px}.login-brand .ant-typography{margin:0}.brand-mark,.header-mark{display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.04em;background:#1e6796}.brand-mark{width:58px;height:58px;border-radius:13px;font-size:20px}.login-note{margin-top:18px;color:#64778a;font-size:12px;text-align:center}.app-shell{min-height:100vh}.portal-shell{min-height:100vh;background:#f3f6f9}.portal-header{height:64px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;background:#173e69;color:#fff}.portal-header .header-user .ant-typography,.portal-header .header-user .ant-btn{color:#ffffffeb}.portal-content{padding:24px}.portal-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.portal-heading .ant-typography{margin-top:0;margin-bottom:4px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(360px,1fr));gap:16px;margin-bottom:20px}.module-card{min-height:210px;border-top:4px solid #2f6f9f;box-shadow:0 6px 18px #16314914}.module-card-google{border-top-color:#3f8f83}.module-card .ant-card-body{height:100%;display:flex;flex-direction:column}.module-card .ant-typography{margin-top:6px}.module-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#2f6f9f;font-size:21px}.module-card-google .module-icon{background:#3f8f83}.module-footer{min-height:34px;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:18px}.access-panel{box-shadow:0 4px 14px #16314912}.access-table{margin-top:14px}.access-form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.access-form .ant-form-item:nth-last-child(-n+2){grid-column:1 / -1}.app-header{height:62px;padding:0 20px;display:grid;grid-template-columns:240px minmax(580px,1fr) 330px;align-items:center;gap:16px;background:#173e69;color:#fff}.header-brand{display:flex;align-items:center;gap:10px}.header-mark{width:38px;height:38px;border-radius:8px;background:#e5b655;color:#173e69}.header-title{font-size:17px;font-weight:700;line-height:1.2}.header-subtitle{margin-top:3px;font-size:11px;color:#ffffffa6}.top-nav{justify-self:center;background:#ffffff1a}.top-nav .ant-segmented-item{color:#ffffffc7;font-size:12px}.top-nav .ant-segmented-item-selected{color:#173e69}.header-user{justify-self:end;white-space:nowrap}.header-user .ant-typography,.header-user .ant-btn{color:#ffffffe6}.portal-return{display:inline-flex;align-items:center;gap:6px;color:#ffffffeb;white-space:nowrap}.portal-return:hover{color:#fff}.app-content{padding:14px 18px 18px}.business-home{max-width:1460px;margin:0 auto}.business-home-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:8px 2px 16px}.business-home-heading .ant-typography{margin:0 0 4px}.business-monitor-alert{margin-bottom:16px}.supplier-payable-panel{margin-bottom:16px;border-top:4px solid #c47b22;box-shadow:0 5px 15px #16314912}.supplier-payable-kpis{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));gap:1px;margin:-8px -8px 12px;overflow:hidden;border:1px solid #edf0f2;border-radius:8px;background:#edf0f2}.operating-forecast-kpis{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:1px;margin:-8px -8px 12px;overflow:hidden;border:1px solid #d9e7f5;border-radius:8px;background:#d9e7f5}.operating-forecast-kpis>div{min-width:0;padding:12px 14px;background:#f8fbff}.operating-forecast-kpis .ant-statistic-content{font-size:24px}.operating-forecast-table{margin-bottom:12px}.supplier-payable-kpis .ant-statistic{min-width:0;padding:12px 14px;background:#fff}.supplier-payable-kpis .ant-statistic-title{min-height:22px;white-space:nowrap}.supplier-payable-kpis .ant-statistic-content{font-size:21px}.supplier-payable-alert{margin-bottom:10px}.supplier-payable-loading{display:grid;min-height:160px;place-items:center}.supplier-payable-table .ant-table-cell{vertical-align:middle}.supplier-payable-tags{margin-top:5px}.supplier-payable-breakdown{display:grid;grid-template-columns:repeat(2,minmax(360px,1fr));gap:8px 16px}.estimated-money{color:#9a5b11}.warning-text{color:#b54708}.business-module-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}@media(max-width:1180px){.operating-forecast-kpis{grid-template-columns:1fr}.supplier-payable-kpis{grid-template-columns:repeat(3,minmax(170px,1fr))}.business-module-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}.business-module-card{min-height:235px;overflow:hidden;border-top:4px solid #2f6f9f;box-shadow:0 5px 15px #16314912}.business-module-card:hover{border-top-color:#1f86ba}.business-module-card.business-module-selected{box-shadow:0 0 0 2px #2e78a838,0 8px 20px #1631491f}.business-module-ac{border-top-color:#3f8f83}.business-module-al{border-top-color:#94734f}.business-module-sc{border-top-color:#637a9f}.business-module-unavailable{opacity:.68;cursor:not-allowed}.business-module-card .ant-card-body{height:100%;display:flex;flex-direction:column}.business-module-card-top,.business-module-footer{display:flex;align-items:center;justify-content:space-between}.business-module-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#2f6f9f;font-size:20px}.business-module-ac .business-module-icon{background:#3f8f83}.business-module-al .business-module-icon{background:#94734f}.business-module-sc .business-module-icon{background:#637a9f}.business-module-card h3.ant-typography{margin:16px 0 2px}.business-module-description{display:block;margin-top:8px;line-height:1.65}.business-module-footer{margin-top:auto;padding-top:18px;color:#2f6f9f}.context-row{min-height:38px;display:flex;justify-content:space-between;align-items:center;padding:0 2px 10px}.period-select{min-width:280px}.period-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.period-create-grid .ant-input-number{width:100%}.period-create-grid .ant-form-item:first-child{grid-column:1 / -1}.fund-status-alert{margin-bottom:14px}.fund-status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.fund-status-grid .ant-input-number{width:100%}.fund-status-note{grid-column:1 / -1}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(170px,1fr));gap:10px}.kpi-card{border-top:3px solid #6f8fa9;box-shadow:0 2px 8px #1631490d}.kpi-card .ant-statistic-title{margin-bottom:2px;font-size:12px;color:#607487}.kpi-card .ant-statistic-content{color:#183c5c;font-size:22px;font-weight:700;line-height:1.25}.kpi-success{border-top-color:#4f956f}.kpi-warning{border-top-color:#d09239}.kpi-danger{border-top-color:#c6534d}.kpi-danger .ant-statistic-content{color:#a83632}.kpi-note{margin-top:5px;color:#7a8997;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-data-stack{margin-top:10px}.import-layout{display:grid;grid-template-columns:minmax(680px,1.15fr) minmax(620px,1fr);gap:10px;align-items:start}.import-form-panel,.import-preview-panel,.import-history-panel,.module-placeholder{box-shadow:0 2px 8px #1631490d}.import-form-grid{display:grid;grid-template-columns:1.35fr .9fr 1fr 1.25fr .8fr;gap:10px;align-items:end}.import-form-grid .ant-form-item{margin-bottom:0}.import-mode-row{margin-bottom:10px;display:flex;align-items:center;gap:12px}.manual-summary-form{display:grid;gap:10px}.manual-summary-grid{display:grid;grid-template-columns:1.25fr .75fr .9fr .8fr .8fr;gap:8px;align-items:end}.manual-summary-grid .ant-form-item,.manual-line-grid .ant-form-item{margin-bottom:0}.manual-evidence{grid-column:1 / -1}.manual-lines{padding-top:8px;border-top:1px solid #edf1f5}.manual-line-header,.manual-actions{margin-bottom:7px;display:flex;align-items:center;justify-content:space-between}.manual-line-grid{margin-bottom:7px;display:grid;grid-template-columns:1fr 1fr .8fr 1.6fr 32px;gap:8px;align-items:center}.manual-line-grid.with-cost-policy{grid-template-columns:.9fr .9fr .65fr 1.25fr 1.45fr 32px}.manual-actions{margin-top:2px;margin-bottom:0}.import-preview-panel{min-height:173px}.import-preview-panel .ant-empty{margin-block:24px}.preview-alert{margin-top:8px}.import-history-panel{grid-column:1 / -1}.import-history-panel .ant-card-body{padding:0}.module-placeholder{min-height:420px;display:grid;place-items:center}.module-panel>.ant-card-body{padding:14px}.panel-heading{min-height:42px;margin-bottom:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.panel-heading .ant-typography{margin:0}.panel-heading h4.ant-typography{margin-bottom:2px}.panel-actions{display:flex;align-items:center;gap:8px}.module-alert{margin-bottom:10px}.stack-cell{min-width:0;display:flex;flex-direction:column;gap:2px}.master-form-grid,.rule-form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}.master-form-wide,.rule-form-wide{grid-column:1 / -1}.master-form-grid .ant-input-number,.rule-form-grid .ant-input-number,.rule-form-grid .ant-picker{width:100%}.attachment-upload-card{margin-bottom:12px;background:#f7f9fb}.attachment-upload-card .ant-form-item{margin-bottom:0}.monitor-filter-row{margin-bottom:10px;padding:9px 10px;border:1px solid #e2e9ef;border-radius:6px;background:#f8fafc}.monitor-stat-grid{margin-bottom:10px;display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px}.monitor-stat-grid .ant-statistic-title{font-size:12px}.monitor-stat-grid .ant-statistic-content{color:#183c5c;font-size:20px}.trend-card{margin-bottom:10px}.trend-card .ant-card-body{padding:4px 10px 0}.trend-chart{width:100%;height:190px}.trend-chart svg{width:100%;height:100%;overflow:visible}.trend-axis{stroke:#cad5df;stroke-width:1}.trend-line{fill:none;stroke:#2a78a8;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.trend-dot{fill:#fff;stroke:#2a78a8;stroke-width:2}.trend-label,.trend-value-label{fill:#6f8090;font-size:12px}.trend-empty{height:185px;display:grid;place-items:center}.fund-transaction-grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:14px}.fund-transaction-grid .ant-picker,.fund-transaction-grid .ant-input-number{width:100%}.fund-transaction-wide{grid-column:1 / -1}.fund-conversion-preview{margin-bottom:24px;align-self:end}.allocation-section{margin-top:2px;padding:12px;border:1px solid #dde6ed;border-radius:6px;background:#f8fafc}.allocation-heading{margin-bottom:10px;display:flex;justify-content:space-between}.allocation-heading>div{display:flex;flex-direction:column;gap:2px}.allocation-row{display:grid;grid-template-columns:1fr 1fr 1.05fr 1.4fr 32px;gap:8px;align-items:start}.allocation-row .ant-form-item{margin-bottom:8px}.allocation-row .ant-input-number{width:100%}.fund-change-reason{margin-top:14px;margin-bottom:0}.adjustment-page{display:grid;gap:12px}.adjustment-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.adjustment-kpis .ant-statistic{padding:10px 14px;border:1px solid #e6edf3;border-radius:8px;background:#fafcff}.adjustment-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;margin-top:14px}.adjustment-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.adjustment-impact-item{display:flex;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:6px;background:#f6f8fa}.success-text{color:#16794a}@media(max-width:1000px){.adjustment-kpis,.adjustment-form-grid,.adjustment-impact-grid{grid-template-columns:1fr 1fr}}.panel{box-shadow:0 2px 8px #1631490d}.panel .ant-card-head{min-height:42px}.panel .ant-card-head-title{font-size:14px;color:#23415f}.product-panel .ant-card-body,.task-panel .ant-card-body{padding:0}.product-panel .ant-table-cell{white-space:nowrap}.task-cell{min-width:0;display:flex;flex-direction:column;gap:2px}.task-cell .ant-typography{max-width:285px}.task-panel-lower{margin-top:10px}.task-panel-lower .task-cell .ant-typography{max-width:none}.bottom-strip{margin-top:10px;padding:12px 14px;display:grid;grid-template-columns:.85fr .9fr 1fr 1.35fr 1fr;gap:12px;border:1px solid #dbe4ec;border-radius:6px;background:#fff;box-shadow:0 2px 8px #1631490a}.bottom-strip>div{min-width:0;display:grid;grid-template-columns:88px auto;column-gap:10px;row-gap:2px}.bottom-strip>div .ant-typography:last-child{grid-column:2;font-size:11px}.danger-text{color:#a83632}.page-loading{min-height:100vh;display:grid;place-items:center;padding:24px}@media(max-width:1280px){.app-header{grid-template-columns:250px minmax(600px,1fr) 210px}.kpi-grid{overflow-x:auto;grid-template-columns:repeat(6,185px)}.import-layout{grid-template-columns:minmax(700px,1fr) minmax(500px,.8fr)}}.app-header{height:58px;grid-template-columns:300px minmax(420px,1fr) 330px;padding:0 18px}.header-brand{min-width:0}.header-mark{flex:0 0 36px;width:36px;height:36px}.header-title{font-size:16px;line-height:20px}.header-subtitle{margin-top:1px;line-height:14px}.app-content{padding:12px 16px 18px}.business-home,.daily-monitor-panel{max-width:1600px;margin:0 auto}.business-home-hero{display:grid;grid-template-columns:minmax(310px,.8fr) minmax(680px,1.35fr);align-items:center;gap:18px;margin:2px 2px 12px}.business-home-heading{display:block;margin:0}.business-home-heading>div:first-child{margin-bottom:4px}.business-home-heading .ant-btn{height:auto;padding:2px 0}.business-module-compact-grid{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:8px}.business-module-compact{min-width:0;min-height:62px;display:grid;grid-template-columns:34px minmax(0,1fr) 12px;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dce5ed;border-top:3px solid #2f6f9f;border-radius:8px;color:#193a58;background:#fff;cursor:pointer;text-align:left;transition:box-shadow .15s ease,transform .15s ease}.business-module-compact:hover:not(:disabled),.business-module-compact.selected{transform:translateY(-1px);box-shadow:0 5px 14px #1631491f}.business-module-compact:disabled{opacity:.55;cursor:not-allowed}.business-module-compact>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.business-module-compact b{font-size:14px}.business-module-compact small{overflow:hidden;color:#728294;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.business-module-compact-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#2f6f9f}.business-module-compact.business-module-ac{border-top-color:#3f8f83}.business-module-compact.business-module-ac .business-module-compact-icon{background:#3f8f83}.business-module-compact.business-module-al{border-top-color:#94734f}.business-module-compact.business-module-al .business-module-compact-icon{background:#94734f}.business-module-compact.business-module-sc{border-top-color:#637a9f}.business-module-compact.business-module-sc .business-module-compact-icon{background:#637a9f}.supplier-payable-panel{margin-bottom:0}.supplier-payable-panel>.ant-card-head{min-height:48px}.supplier-payable-panel>.ant-card-body{padding:12px 14px 14px}.financial-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:8px 10px;border:1px solid #e1e8ee;border-radius:8px;background:#f7f9fb}.financial-filter-bar>div:first-child{display:flex;align-items:center;gap:8px}.financial-filter-bar .ant-select{width:220px}.financial-filter-bar .ant-picker{width:250px}.financial-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:10px 0 7px}.financial-section-title>span{color:#244b6a;font-size:14px;font-weight:700}.operating-forecast-kpis{grid-template-columns:repeat(4,minmax(190px,1fr));margin:0 0 12px}.operating-forecast-kpis>div{padding:10px 13px}.operating-forecast-kpis .ant-statistic-content{font-size:22px}.operating-forecast-kpis .ant-typography{display:block;margin-top:2px;font-size:11px}.supplier-payable-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));margin:0 0 12px}.supplier-payable-kpis .ant-statistic{padding:10px 13px}.supplier-payable-kpis .ant-statistic-content{font-size:19px}.financial-detail-tabs .ant-tabs-nav{margin-bottom:8px}.table-primary-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.supplier-payable-breakdown{grid-template-columns:repeat(3,minmax(250px,1fr))}.supplier-payable-breakdown>div{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;padding:7px 9px;border:1px solid #e4eaf0;border-radius:6px;background:#fff}.supplier-payable-breakdown>div .ant-typography:last-child{grid-column:2;font-size:11px}.payable-total{color:#a8540b}.daily-monitor-panel>.ant-card-body{padding:13px 14px 14px}.monitor-page-heading{align-items:center}.monitor-overview-grid{display:grid;grid-template-columns:minmax(720px,1fr) 315px;align-items:stretch;gap:10px;margin-bottom:10px}.monitor-main-column{min-width:0}.monitor-filter-row{display:grid;grid-template-columns:minmax(170px,1.35fr) minmax(245px,1.55fr) 110px 125px 85px;gap:8px;margin-bottom:8px;padding:8px}.monitor-filter-row .ant-select,.monitor-filter-row .ant-picker{width:100%}.monitor-stat-grid{height:calc(100% - 48px);margin-bottom:0;gap:8px}.monitor-stat-grid .ant-card-body{padding:10px 12px}.monitor-side-panel{min-height:122px;display:flex;flex-direction:column;padding:10px;border:1px solid #dbe4eb;border-radius:8px;background:#f8fafc}.monitor-side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:#244b6a;font-weight:700}.monitor-alert-list{max-height:102px;display:flex;flex-direction:column;gap:3px;margin-bottom:8px;overflow-y:auto}.monitor-alert-list button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;padding:3px 4px;border:0;border-radius:5px;color:#334f67;background:transparent;cursor:pointer;text-align:left}.monitor-alert-list button:hover{background:#fff3df}.monitor-alert-list .ant-tag{margin:0}.monitor-healthy{min-height:55px;display:flex;align-items:center;justify-content:center;gap:7px;color:#3a8b68}.monitor-collector-config{display:flex;flex-direction:column;margin-top:auto;margin-bottom:7px;padding-top:7px;border-top:1px solid #e2e8ed}.monitor-collector-config .ant-typography:last-child{font-size:11px}.trend-card .ant-card-head{min-height:38px}.trend-card .ant-card-head-title{padding:8px 0;font-size:13px}.trend-card .ant-card-body{padding-top:0}.trend-chart{position:relative;height:185px}.trend-legend{position:absolute;top:4px;right:8px;z-index:1;display:flex;flex-wrap:wrap;gap:8px 12px;font-size:11px;color:#647789}.trend-legend span{display:inline-flex;align-items:center;gap:4px}.trend-legend i{width:8px;height:8px;border-radius:50%}.source-breakdown-list{display:flex;flex-direction:column;gap:4px}.source-breakdown-item{display:grid;grid-template-columns:minmax(115px,1.2fr) 80px 95px auto;align-items:center;gap:6px;padding:5px 6px;border:1px solid #e5ebf0;border-radius:6px;background:#fbfcfd}.source-breakdown-item .ant-tag{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.source-breakdown-item>span{display:flex;flex-direction:column;line-height:1.25}.source-breakdown-item small{color:#8a98a5;font-size:10px}.source-breakdown-item b{color:#2d4e68;font-size:11px}.monitor-anomaly-row>td{background:#fffaf2!important}.backfill-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.backfill-form label{display:flex;flex-direction:column;gap:5px}.backfill-form .ant-select,.backfill-form .ant-picker{width:100%}.ant-table-wrapper .ant-table-thead>tr>th{color:#274a67;background:#eaf1f7}.ant-table-wrapper .ant-table-cell{vertical-align:middle}@media(max-width:1250px){.app-header{grid-template-columns:260px minmax(440px,1fr) 250px}.business-home-hero,.monitor-overview-grid{grid-template-columns:1fr}.monitor-side-panel{min-height:auto}}@media(max-width:900px){.business-module-compact-grid,.operating-forecast-kpis,.supplier-payable-kpis{grid-template-columns:repeat(2,minmax(180px,1fr))}.financial-filter-bar,.financial-filter-bar>div:first-child{align-items:stretch;flex-direction:column}.monitor-filter-row{grid-template-columns:repeat(2,minmax(180px,1fr))}}
