.ff-detail{width:100%!important;max-height:min(680px,calc(100dvh - 32px))!important;overflow:auto!important;padding:0!important;border:1px solid #d5e1eb!important;border-radius:8px!important;background:#fff!important;color:#20384f;box-shadow:0 10px 30px rgba(30,48,70,.07)!important}.ff-detail[hidden]{display:none!important}.ff-detail::backdrop{display:none!important}
.ff-shell{box-sizing:border-box;display:grid;gap:16px;min-width:0;max-width:100%;overflow-x:hidden}.ff-shell *{box-sizing:border-box}.ff-hero{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;min-height:0;padding:0;margin:0 0 12px;border:0;border-radius:0;background:transparent;box-shadow:none}.ff-hero>div{min-width:0}.ff-hero h2{margin:0 0 8px}.ff-hero p{max-width:800px;margin:0;color:#c9d9e8;overflow-wrap:anywhere}.ff-hero .button{flex:0 0 auto}.ff-tabs{display:flex;min-width:0;max-width:100%;gap:8px;overflow:auto;padding-bottom:2px}.ff-tabs button{flex:0 0 auto;padding:9px 15px;border:1px solid #cddbea;border-radius:999px;background:#fff;color:#24415d;font-weight:700}.ff-tabs button.active{border-color:#147b6c;background:#147b6c;color:#fff}.ff-filter,#ffResults,.ff-summary,.ff-pager{min-width:0;max-width:100%}.ff-filter{padding:18px}.ff-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.ff-filter label{display:grid;min-width:0;gap:6px;color:#435970;font-size:12px;font-weight:750}.ff-filter input,.ff-filter select{box-sizing:border-box;min-width:0;max-width:100%;height:40px;padding:0 10px;border:1px solid #ccd9e7;border-radius:8px;background:#fff;color:#183047;font:inherit}.ff-filter input:focus,.ff-filter select:focus{outline:3px solid #1e8a782b;border-color:#1e8a78}.ff-filter-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.ff-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#60758a;font-size:13px}.ff-table{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;border:1px solid #dce6ef;border-radius:13px;background:#fff;-webkit-overflow-scrolling:touch}.ff-table table{width:max-content;min-width:1320px;border-collapse:collapse}.ff-table th,.ff-table td{padding:11px 12px;border-bottom:1px solid #edf2f6;text-align:left;vertical-align:top}.ff-table th{position:sticky;top:0;z-index:1;background:#f4f8fb;color:#526980;font-size:12px;text-transform:uppercase}.ff-table td{color:#20384f;font-size:13px}.ff-table small{display:block;margin-top:4px;color:#7a8da0}.ff-money{font-variant-numeric:tabular-nums;white-space:nowrap}.ff-money.positive{color:#11765d}.ff-money.negative{color:#b5414c}.ff-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e8f0f6;color:#35546f;font-size:12px;font-weight:800}.ff-status.COMPLETED,.ff-status.SUCCESS,.ff-status.POSTED{background:#ddf4e8;color:#17643f}.ff-status.FAILED,.ff-status.REJECTED,.ff-status.MISMATCH{background:#ffe8e6;color:#9d352f}.ff-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px;color:#60758a;font-size:13px}.ff-pager div{display:flex;gap:8px}.ff-empty,.ff-error{padding:28px;text-align:center;color:#6c8093}.ff-error{color:#a43636}.ff-options-error{padding:0;text-align:left}.ff-detail{width:min(960px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:15px;color:#20384f;box-shadow:0 28px 80px #081b2c66}.ff-detail::backdrop{background:#071b2d99}.ff-detail header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #e0e8ef;background:#fff}.ff-detail h3{margin:0}.ff-detail-close{width:36px;height:36px;border:0;border-radius:50%;background:#eaf0f5;color:#24415d;font-size:22px}.ff-detail-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:20px}.ff-detail-item{min-width:0;padding:12px;border:1px solid #e0e8ef;border-radius:10px;background:#f8fafc}.ff-detail-item span{display:block;margin-bottom:5px;color:#71859a;font-size:12px}.ff-detail-item b{overflow-wrap:anywhere;font-size:13px}.ff-detail-wide{grid-column:1/-1}.ff-components{width:100%;border-collapse:collapse}.ff-components td,.ff-components th{padding:8px;border-bottom:1px solid #e6edf3;text-align:left}@media(max-width:980px){.ff-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-detail-body{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ff-hero,.ff-summary,.ff-pager{align-items:stretch;flex-direction:column}.ff-hero{padding:17px}.ff-hero .button{width:100%}.ff-filter-grid,.ff-detail-body{grid-template-columns:1fr}.ff-filter-actions{display:grid;grid-template-columns:1fr 1fr}.ff-filter-actions button{width:100%}.ff-table table{min-width:980px}.ff-detail-wide{grid-column:auto}}.ff-combobox{display:flex;position:relative;min-width:0}.ff-combobox-input{width:100%;height:40px;padding:0 35px 0 10px!important}.ff-combobox-toggle{position:absolute;right:4px;top:4px;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#60758a;font-size:18px}.ff-combobox-input:focus{outline:3px solid #1e8a782b;border-color:#1e8a78}.ff-select-menu{display:block;z-index:5000;max-height:min(300px,calc(100vh - 16px));overflow:auto;padding:4px;border:1px solid #cbd8e5;border-radius:8px;background:#fff;box-shadow:0 12px 30px #081b2c2e}.ff-select-menu[hidden]{display:none}.ff-select-option{display:block;width:100%;padding:9px 10px;overflow:hidden;border:0;border-radius:5px;background:transparent;color:#20384f;text-align:left;text-overflow:ellipsis;white-space:nowrap;font:inherit}.ff-select-option:hover,.ff-select-option.active,.ff-select-option[aria-selected=true]{background:#e8f4f1;color:#146856}.ff-select-empty{display:block;padding:12px;color:#7a8da0}
.ff-provider{overflow:visible;color:var(--color-text,#152235);font-size:13px;letter-spacing:0}.ff-provider-workspace{min-width:0;background:#fff;border:1px solid var(--color-border,#d6e0e9);border-radius:8px}.ff-provider-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e4eaf0}.ff-books,.ff-provider-tools{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.ff-books button{min-height:40px;padding:8px 14px;border:1px solid #d6e0e9;border-radius:6px;background:#fff;color:#4a5d73;font:inherit;font-weight:650;cursor:pointer}.ff-books button.active{background:#edf4ff;border-color:#2f66d0;color:#2452aa}.ff-provider button:focus-visible,.ff-provider summary:focus-visible,.ff-summary-table:focus-visible,.ff-provider .ff-table:focus-visible{outline:3px solid rgba(47,102,208,.22);outline-offset:2px}.ff-provider button:disabled{cursor:not-allowed;opacity:.55}.ff-provider-tools .button{white-space:nowrap}.ff-provider .ff-filter{padding:16px;margin:0;border:0;border-radius:0;box-shadow:none}.ff-provider .ff-filter-grid{gap:12px 16px}.ff-provider .ff-filter label{font-size:12px;font-weight:600;color:#4a5d73}.ff-provider .ff-filter input,.ff-provider .ff-filter select{height:42px;border-color:#d6e0e9;border-radius:8px;font-size:13px;font-weight:500}.ff-provider .ff-combobox-input{height:42px}.ff-provider .ff-combobox-toggle{top:5px}.ff-advanced{margin-top:16px;border-top:1px solid #e4eaf0;padding-top:12px}.ff-advanced>summary{width:fit-content;padding:4px 0;cursor:pointer;color:#216bc4;font-weight:600}.ff-advanced[open]>.ff-filter-grid{padding-top:12px}.ff-provider .ff-filter-actions{align-items:center;flex-wrap:wrap;margin-top:12px}.ff-provider .ff-filter-actions #ffDraftState{margin-right:auto;color:#8d6209;font-size:12px}.ff-timezone{color:#6f7f91;font-size:12px}.ff-filter-error:not(:empty){margin-top:12px;padding:8px 10px;border-left:3px solid #c33e4a;background:#fceff1;color:#a12c38}.ff-provider .ff-options-error:not(:empty){padding:12px 16px;border-bottom:1px solid #eed0d4;background:#fceff1}.ff-select-more{display:block;width:100%;min-height:36px;border:0;border-top:1px solid #e4eaf0;background:#fff;color:#216bc4;text-align:center;font:inherit;cursor:pointer}.ff-select-option:focus-visible{outline:2px solid #2f66d0;outline-offset:-2px}.ff-provider-summary{min-width:0;border-top:1px solid #e4eaf0;border-bottom:1px solid #e4eaf0;background:#f6f8fb}.ff-summary-table{max-height:250px;overflow:auto}.ff-summary-table table{width:100%;min-width:760px;border-collapse:collapse;white-space:nowrap}.ff-summary-table caption{text-align:left;padding:10px 16px;font-weight:650;color:#4a5d73}.ff-summary-table th,.ff-summary-table td{padding:9px 16px;border-top:1px solid #e4eaf0;text-align:left;font-size:12px;font-variant-numeric:tabular-nums}.ff-summary-table th{color:#6f7f91;font-weight:600}.ff-summary-table .ff-money{text-align:right}.ff-provider-summary .ff-empty,.ff-provider-summary .ff-error{padding:14px 16px;text-align:left}.ff-provider .ff-summary{padding:12px 16px;align-items:baseline;font-size:12px}.ff-provider .ff-table{border:0;border-top:1px solid #e4eaf0;border-radius:0;overflow-x:auto;overflow-y:visible}.ff-provider .ff-table table{min-width:1380px}.ff-provider .ff-table th{font-size:12px;text-transform:none;font-weight:600}.ff-provider .ff-table th,.ff-provider .ff-table td{padding:9px 10px;max-width:300px}.ff-provider .ff-table td{line-height:1.55}.ff-provider .ff-table td:first-child{min-width:140px;overflow-wrap:anywhere}.ff-provider .ff-table .ff-money{min-width:110px;text-align:right}.ff-provider .ff-table small{font-size:12px;line-height:1.5;color:#6f7f91;overflow-wrap:anywhere}.ff-provider .ff-table small.ff-evidence-gap{color:#a12c38}.ff-provider .ff-table td:last-child,.ff-provider .ff-table th:last-child{position:sticky;right:0;min-width:66px;background:#fff;border-left:1px solid #edf2f6}.ff-provider .ff-table th:last-child{background:#f4f8fb}.ff-provider .ff-pager{padding:12px 16px}.ff-provider-balances{padding:14px 16px;border-bottom:1px solid #d6e0e9;background:#fff}.ff-provider-balances[hidden]{display:none}.ff-provider-balances header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.ff-provider-balances header span,.ff-balance-observation{color:#6f7f91;font-size:12px}.ff-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0}.ff-balance-grid>div{display:grid;gap:6px;min-width:0}.ff-balance-grid span{color:#4a5d73;font-size:12px}.ff-balance-grid b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ff-provider .ff-detail{scroll-margin-top:16px;border-radius:8px!important;box-shadow:none!important}.ff-provider .ff-detail h3{font-size:16px}.ff-provider .ff-detail-body{gap:0;padding:8px 16px 16px}.ff-provider .ff-detail-item{padding:12px 8px;border:0;border-bottom:1px solid #edf2f6;border-radius:0;background:transparent}.ff-provider .ff-detail-item span{font-size:12px;color:#6f7f91}.ff-provider .ff-detail-item b{font-weight:550}.ff-provider .ff-detail-body>.ff-empty,.ff-provider .ff-detail-body>.ff-error{grid-column:1/-1}.ff-provider .ff-status{border-radius:4px;font-weight:600}
@media(max-width:1280px){.ff-provider .ff-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ff-balance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1024px){.ff-provider .ff-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ff-provider-toolbar{align-items:flex-start}.ff-provider-tools{justify-content:flex-end}.ff-provider .ff-summary{flex-wrap:wrap}.ff-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ff-provider-toolbar{flex-direction:column;padding:12px}.ff-books,.ff-provider-tools{width:100%}.ff-books button,.ff-provider-tools .button{flex:1;min-height:44px}.ff-provider .ff-filter{padding:12px}.ff-provider .ff-filter-grid{grid-template-columns:minmax(0,1fr)}.ff-provider .ff-filter input{min-height:44px}.ff-provider .ff-filter-actions{display:grid;grid-template-columns:1fr 1fr}.ff-provider .ff-filter-actions #ffDraftState,.ff-provider .ff-filter-actions .ff-timezone{grid-column:1/-1}.ff-provider .ff-filter-actions .button{min-height:44px}.ff-select-option{min-height:44px;white-space:normal;overflow-wrap:anywhere}.ff-provider .ff-combobox-toggle{height:36px;width:36px;top:4px}.ff-provider .ff-table table{min-width:1380px}.ff-provider .ff-pager{padding:12px;gap:10px}.ff-provider .ff-pager>div{display:grid;grid-template-columns:1fr 1fr}.ff-provider .ff-pager .button{min-height:44px}.ff-provider .ff-detail-body{grid-template-columns:minmax(0,1fr)}.ff-provider .ff-detail-close{width:44px;height:44px}.ff-balance-grid{grid-template-columns:minmax(0,1fr)}.ff-provider-balances header{flex-direction:column}}

.ff-provider-pagination{min-width:0;padding:12px 16px;border-top:1px solid #d6e0e9}.ff-provider-pagination .fp-pagination{margin:0}@media(max-width:560px){.ff-provider-pagination{padding:12px}}
/* 三方12列与其它资金中心不同；窄屏保留原表头/全部财务列，不套旧卡片标签。 */
@media(max-width:700px){.ff-provider .ff-table{overflow-x:auto;overflow-y:hidden;background:#fff}.ff-provider .ff-table table{display:table;width:max-content;min-width:1380px}.ff-provider .ff-table table thead{display:table-header-group}.ff-provider .ff-table table tbody{display:table-row-group}.ff-provider .ff-table table tr{display:table-row;width:auto;overflow:visible;border:0;border-radius:0}.ff-provider .ff-table table tbody td{display:table-cell!important;width:auto;max-width:300px;padding:12px;border-bottom:1px solid #edf2f6;vertical-align:top}.ff-provider .ff-table table td:before{content:none!important;display:none!important}.ff-provider .ff-table table th:first-child,.ff-provider .ff-table table td:first-child{position:static!important}.ff-provider .ff-table table .ff-money{min-width:110px!important}.ff-provider .ff-table table td:last-child{position:sticky!important;right:0;min-width:66px!important;background:#fff!important}}

.ff-table .ff-money{text-align:right}.ff-table td:first-child{max-width:180px;overflow-wrap:anywhere}.ff-filter{padding:14px}.ff-filter-grid{gap:8px}.ff-hero{margin-bottom:0}.ff-table [data-ff-detail]{color:var(--blue,#216bc4)}

.ff-detail-overlay{position:fixed;inset:0;z-index:2600;display:grid;place-items:center;padding:16px;box-sizing:border-box;background:rgb(16 36 58 / 55%)}.ff-detail-overlay[hidden]{display:none}.ff-detail-overlay>.ff-detail{width:min(900px,100%)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;border-radius:var(--radius-card,16px)!important;box-shadow:0 24px 68px rgb(7 19 34 / 24%)!important}.ff-detail-overlay .ff-detail-body{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:560px){.ff-detail-overlay .ff-detail-body{grid-template-columns:1fr}}

.ff-table .ff-balance>span{display:block;white-space:nowrap;line-height:20px}
