html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}@-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]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}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{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}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{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}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{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[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{background-color:#feffe6;padding:.2em}:root{color:#1b2430;font-synthesis:none;text-rendering:optimizelegibility;background:#eef2f6;font-family:Inter,Microsoft YaHei,PingFang SC,Hiragino Sans GB,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}.finance-layout{background:#eef2f6;min-height:100vh}.auth-screen{background:#eef2f6;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{background:#fff;border:1px solid #d9e1ea;border-radius:8px;gap:18px;width:min(100%,420px);padding:28px;display:grid;box-shadow:0 12px 28px #18274b14}.auth-brand{color:#1d4ed8;align-items:center;gap:10px;font-weight:700;display:flex}.auth-panel h1{color:#172033;margin:0;font-size:28px;line-height:1.2}.auth-panel p{color:#607083;margin:-8px 0 0;line-height:1.65}.auth-role-note{color:#607083;flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.auth-role-note span{background:#f8fafc;border:1px solid #dbe3ec;border-radius:999px;padding:4px 8px}.sidebar{border-right:1px solid #d9e1ea}.brand-block{border-bottom:1px solid #e5ebf2;gap:2px;height:72px;padding:18px 20px;display:grid}.brand-block strong{color:#1b2430;font-size:18px;line-height:1.2}.brand-block span{color:#607083;font-size:12px}.side-menu{padding:10px;border-inline-end:0!important}.finance-main{width:100%;min-width:0}.top-bar{background:#fff;border-bottom:1px solid #d9e1ea;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:12px 24px;display:flex}.top-bar-controls{align-items:center;gap:12px;min-width:0;display:flex}.mobile-page-select{width:160px;display:none}.period-control{color:#435266;align-items:center;gap:10px;font-weight:600;display:flex}.period-select,.period-date-input{width:132px}.period-separator{color:#607083;font-weight:500}.runtime-tag{align-items:center;gap:6px;margin-inline-end:0;display:inline-flex}.finance-content{gap:20px;width:100%;padding:24px;display:grid}.workspace-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.page-panel{gap:20px;min-width:0;display:grid}.finance-content>*,.page-panel>*,.page-head>*,.subsection-head>*{min-width:0;max-width:100%}.visually-hidden-file{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.page-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.subsection-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.workspace-head h1,.page-head h1,.subsection-head h2,.operations-band h2,.ledger-preview h2{color:#172033;margin:0;line-height:1.2}.workspace-head h1,.page-head h1{font-size:28px}.workspace-head p,.page-head p,.subsection-head p,.operations-copy p{color:#607083;max-width:760px;margin:8px 0 0;line-height:1.65}.workspace-kicker{color:#6b7280;text-transform:uppercase;font-size:12px;font-weight:700}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0;display:grid}.summary-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-tile,.operations-band,.ledger-preview{background:#fff;border:1px solid #dbe3ec;border-radius:8px}.summary-tile{gap:8px;min-width:0;min-height:118px;padding:16px;display:grid}.summary-tile span{color:#607083}.summary-tile strong{color:#172033;font-size:24px;line-height:1.2}.table-toolbar{justify-content:flex-end;display:flex}.table-toolbar .ant-input-affix-wrapper,.table-toolbar .ant-input{width:min(100%,420px)}.operations-band{justify-content:space-between;align-items:center;gap:18px;padding:18px;display:flex}.operations-actions{flex-wrap:wrap;gap:10px;display:flex}.ledger-preview{overflow:hidden}.ledger-preview header,.ledger-row{grid-template-columns:minmax(180px,1fr) 160px 150px 100px;align-items:center;gap:16px;padding:14px 18px;display:grid}.ledger-preview header{border-bottom:1px solid #e5ebf2}.ledger-row+.ledger-row{border-top:1px solid #edf1f5}.money{font-variant-numeric:tabular-nums;font-weight:700}.table-card{width:100%;min-width:0;max-width:100%;overflow:hidden}.table-card .ant-card-body,.table-card .ant-table-wrapper{min-width:0;max-width:100%}.inline-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin:16px;padding:10px 12px}.import-error-list{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;gap:8px;margin-top:-4px;padding:10px 12px;display:grid}.import-error-list strong{color:#7f1d1d}.import-error-list ul{margin:0;padding-left:18px}.import-error-list li+li{margin-top:4px}.import-preview{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:10px;margin-top:12px;padding:12px;display:grid}.import-preview strong{color:#172033}.import-preview dl{gap:8px;margin:0;display:grid}.import-preview dl div{grid-template-columns:96px minmax(0,1fr);gap:8px;display:grid}.import-preview dt{color:#526071}.import-preview dd{margin:0;font-weight:600}.month-end-row-actions{width:100%}.month-end-row-actions .ant-btn{justify-content:center;width:100%}.form-context{color:#435266;background:#f8fafc;border:1px solid #dbe3ec;border-radius:8px;gap:4px;margin-bottom:18px;padding:12px;display:grid}.form-context strong{color:#172033}.match-source{background:#f8fafc;border:1px solid #dbe3ec;border-radius:8px;gap:6px;margin-bottom:18px;padding:12px;display:grid}.match-source strong{color:#172033}.match-target-list{gap:10px;width:100%;display:grid}.match-target{border:1px solid #dbe3ec;border-radius:8px;width:100%;margin-inline-end:0;padding:10px 12px}.match-target span+span{margin-left:8px}.match-empty{color:#526071;background:#f8fafc;border:1px solid #dbe3ec;border-radius:8px;padding:12px}.match-selection-summary{color:#526071;background:#f8fafc;border:1px solid #dbe3ec;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:-6px 0 16px;padding:10px 12px;font-size:13px;display:flex}.attachment-preview{place-items:start center;display:grid}.attachment-preview img{background:#fff;border:1px solid #dbe3ec;border-radius:8px;max-width:100%;height:auto}.audit-json-block{gap:8px;min-width:0;display:grid}.audit-json-block h2{color:#172033;margin:0;font-size:16px}.audit-json-block pre{color:#1f2937;white-space:pre-wrap;word-break:break-word;background:#f8fafc;border:1px solid #dbe3ec;border-radius:8px;max-width:100%;max-height:280px;margin:0;padding:12px;font-size:12px;line-height:1.55;overflow:auto}@media (width<=980px){.finance-layout{display:block}.sidebar{display:none}.finance-main,.top-bar,.finance-content{width:100%}.finance-layout.ant-layout-has-sider>.finance-main.ant-layout{width:100%!important}.mobile-page-select{display:block}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-head,.page-head,.subsection-head,.operations-band,.top-bar{flex-direction:column;align-items:stretch}.top-bar-controls{align-items:stretch;width:100%}.ant-btn{min-height:44px;padding-inline:14px}.ant-btn.ant-btn-icon-only{width:44px;min-width:44px}.ant-drawer-close,.ant-pagination .ant-pagination-item,.ant-pagination .ant-pagination-prev,.ant-pagination .ant-pagination-next,.ant-pagination .ant-pagination-item-link{min-width:44px;min-height:44px}.ant-pagination .ant-pagination-item,.ant-pagination .ant-pagination-prev,.ant-pagination .ant-pagination-next{height:44px;line-height:44px}.ant-input,.ant-input-number,.ant-picker,.ant-select-single,.ant-select-single .ant-select-selector{min-height:44px}.ant-select-single{height:44px}.ant-select-single .ant-select-selector{align-items:center}.ant-select-single .ant-select-selection-search,.ant-select-single .ant-select-selection-search-input{min-height:44px}}@media (width<=620px){.finance-content{padding:16px}.summary-grid,.summary-grid.compact{grid-template-columns:1fr}.top-bar-controls{flex-direction:column}.mobile-page-select,.period-select{width:100%}.ledger-preview header,.ledger-row{grid-template-columns:1fr;gap:8px}}
