#fpfRoot{position:fixed;inset:64px 0 0;z-index:50;overflow:auto;background:#f5f8fc;color:#17233d;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
#fpfRoot *{box-sizing:border-box}#fpfRoot button,#fpfRoot input,#fpfRoot select{font:inherit}#fpfRoot button{cursor:pointer}
.fpf-content{width:min(1660px,calc(100vw - 64px));margin:22px auto 48px}.fpf-summary{display:grid;grid-template-columns:42% 58%;gap:12px;margin-bottom:12px}.fpf-card{border:1px solid #d9e2ef;background:#fff;border-radius:10px}.fpf-intro{padding:18px 22px;background:linear-gradient(115deg,#fff,#f7faff)}.fpf-eye{margin:0 0 3px;color:#1668e8;font-size:12px;font-weight:700}.fpf-intro h1{margin:0 0 5px;color:#101a2e;font-size:23px;line-height:1.15}.fpf-intro p{margin:0;color:#68758f;font-size:12px}.fpf-metrics{display:grid;grid-template-columns:repeat(2,1fr);overflow:hidden}.fpf-metrics.filtered{grid-template-columns:repeat(4,1fr)}.fpf-metric{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:14px 22px;border-left:1px solid #e3e9f2}.fpf-metric:first-child{border-left:0}.fpf-metric span{color:#74819a;font-size:11px}.fpf-metric strong{color:#111c34;font-size:18px}.fpf-metric.hot{background:#fff9f5}.fpf-metric.hot strong{color:#f04e23}
.fpf-ledger{min-height:510px;overflow:hidden}.fpf-toolbar{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;border-bottom:1px solid #dce4ef}.fpf-tabs{display:flex;align-items:center;flex-shrink:0;padding:3px;background:#f1f4f8;border-radius:7px}.fpf-tabs button{height:38px;padding:0 18px;border:1px solid transparent;border-radius:6px;background:transparent;color:#53617a;font-weight:500}.fpf-tabs button span{margin-left:5px;font-size:12px}.fpf-tabs .active{color:#1668e8;background:#fff;border-color:#bfd3f3;box-shadow:0 1px 4px rgba(34,63,102,.09);font-weight:700}.fpf-actions{display:flex;align-items:center;gap:8px;min-width:0}.fpf-control,.fpf-actions select{height:38px;padding:0 12px;border:1px solid #ccd7e6;border-radius:7px;background:#fff;color:#26344f;outline:0}.fpf-search{width:240px}.fpf-actions select{min-width:108px}#fpfPairing{min-width:124px}.fpf-control:focus,.fpf-actions select:focus{border-color:#6ea4f3;box-shadow:0 0 0 3px rgba(22,104,232,.1)}
.fpf-btn{height:38px;padding:0 15px;border:1px solid #b9cbe3;border-radius:7px;background:#fff;color:#1668e8;font-weight:600;white-space:nowrap}.fpf-btn:hover{border-color:#1668e8;background:#f5f9ff}.fpf-btn.primary{border-color:#1668e8;background:#1668e8;color:#fff}.fpf-btn.primary:hover{background:#0d59cc}.fpf-btn.text{border:0;color:#53617a}.fpf-btn .count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;margin-left:5px;padding:1px 5px;border-radius:999px;background:#edf3fb;color:#536b8d;font-size:11px}
.fpf-store{display:inline-grid;gap:4px}.fpf-store strong{color:#34425c;font-weight:500}.fpf-store small{font-size:11px}.fpf-store small.matched{color:#25804e}.fpf-store small.unmatched{color:#e05b36}
.fpf-table-wrap{max-height:calc(100vh - 300px);overflow:auto;scrollbar-gutter:stable}.fpf-table{width:100%;min-width:1490px;border-collapse:collapse;table-layout:fixed}.fpf-table th{position:sticky;top:0;z-index:6;height:49px;padding:0 14px;border-bottom:1px solid #d9e2ef;background:#f5f8fc;box-shadow:0 1px 0 #d9e2ef;color:#46536b;text-align:left;font-size:13px;font-weight:600}.fpf-table td{height:72px;padding:10px 14px;border-bottom:1px solid #e7ecf3;color:#34425c;font-size:14px}.fpf-table tbody tr:hover{background:#fafcff}.fpf-table th:nth-child(1){width:54px}.fpf-table th:nth-child(2){width:165px}.fpf-table th:nth-child(3){width:96px}.fpf-table th:nth-child(4){width:115px}.fpf-table th:nth-child(5){width:105px}.fpf-table th:nth-child(6){width:105px}.fpf-table th:nth-child(7){width:88px}.fpf-table th:nth-child(8){width:120px}.fpf-table th:nth-child(9){width:118px}.fpf-table th:nth-child(10){width:116px}.fpf-table th:nth-child(11){width:132px}.fpf-table th:nth-child(12){width:118px}.fpf-table th:nth-child(13){width:100px}.fpf-seq{text-align:center;color:#7c889c}.fpf-id{color:#1c3965;font-size:14px}.fpf-money{color:#263a5d}.fpf-total{color:#e84a22;font-size:15px}.fpf-muted{color:#9aa4b6}.fpf-edit{display:inline-grid;gap:2px;min-width:82px;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#526078;text-align:left;font-size:13px}.fpf-edit:hover{border-color:#b9d3f7;background:#f3f8ff;color:#1668e8}.fpf-edit small{color:#8995aa;font-size:11px;font-weight:400}.fpf-inline-editor{display:inline-grid;gap:3px;width:104px;vertical-align:middle}.fpf-inline-editor .fpf-control{width:100%!important;height:32px;padding:0 8px}.fpf-inline-editor.error .fpf-control{border-color:#e45d4a;box-shadow:0 0 0 3px rgba(228,93,74,.12)}.fpf-inline-status{padding:0;border:0;background:transparent;color:#6b7890;text-align:left;white-space:nowrap;font-size:11px}.fpf-inline-status.saving{color:#1668e8}.fpf-inline-status.error{color:#d7432c;cursor:pointer}.fpf-save-state{display:block;margin-top:3px;color:#25804e;white-space:nowrap;font-size:11px;font-weight:600}.fpf-settled{display:inline-grid;gap:2px;color:#9aa4b6;font-size:13px}.fpf-settled small{font-size:11px;color:#3e8a62}.fpf-link{padding:5px 0;border:0;background:transparent;color:#1668e8;font-size:13px}.fpf-link:hover{text-decoration:underline}.fpf-foot{min-height:48px;display:flex;align-items:center;justify-content:flex-start;gap:24px;padding:0 16px;background:#fafbfd;color:#7c879b;font-size:12px}.fpf-foot strong{color:#53617a;font-weight:600}.fpf-empty{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8995aa}.fpf-empty strong{color:#3b4961;font-size:16px}.fpf-loading:before{content:"";width:26px;height:26px;border:3px solid #d8e5f7;border-top-color:#1668e8;border-radius:50%;animation:fpfspin .8s linear infinite}@keyframes fpfspin{to{transform:rotate(360deg)}}
.fpf-backdrop{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:24px;background:rgba(20,32,52,.38);backdrop-filter:blur(2px)}.fpf-modal{width:min(900px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;border-radius:12px;background:#fff;box-shadow:0 24px 70px rgba(15,30,55,.24)}.fpf-modal.small{width:min(650px,calc(100vw - 48px))}.fpf-modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid #e5eaf1}.fpf-modal-head h2{margin:0 0 6px;font-size:22px}.fpf-modal-head p{margin:0;color:#76839a;font-size:12px}.fpf-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 24px;border-top:1px solid #e5eaf1;background:#fafbfd}.fpf-modal-foot>span{color:#7f8aa0;font-size:11px}.fpf-foot-actions,.fpf-quote-actions{display:flex;align-items:center;gap:8px}
.fpf-quote-toolbar{min-height:64px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 24px;border-bottom:1px solid #e2e8f0;background:#f7f9fc}.fpf-quote-toolbar>div:first-child{display:grid;gap:3px}.fpf-quote-toolbar strong{color:#26344f;font-size:13px}.fpf-quote-toolbar span{color:#7f8aa0;font-size:11px}.fpf-quote-form{display:grid;grid-template-columns:1.05fr .75fr 1fr 1fr 1fr auto;align-items:end;gap:10px;padding:18px 24px;border-bottom:1px solid #e2e8f0;background:#fbfcfe}.fpf-quote-form label{display:grid;gap:7px}.fpf-quote-form label span{color:#5f6c84;font-size:11px}.fpf-quote-form input,.fpf-quote-form select{width:100%;height:38px;padding:0 12px;border:1px solid #ccd7e6;border-radius:7px;background:#fff;color:#26344f;outline:0}.fpf-quote-list{padding:8px 24px 12px}.fpf-quote-row{display:grid;grid-template-columns:1.05fr .8fr 1.05fr 1.15fr 1.15fr .8fr;align-items:center;min-height:52px;padding:0 10px;border-bottom:1px solid #edf0f5;color:#46536b;font-size:13px}.fpf-quote-head{min-height:38px;color:#8792a5;font-size:11px}.fpf-quote-row strong{color:#26344f}.fpf-status{justify-self:start;display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#f0f2f5;color:#7b8699;font-size:11px}.fpf-status.current{background:#eaf6ef;color:#25804e}
.fpf-fees{padding:8px 24px 18px}.fpf-fees label{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #edf0f5}.fpf-fees label>span:first-child{display:grid;gap:5px}.fpf-fees label strong{color:#26344f;font-size:14px}.fpf-fees label small{color:#8792a5;font-size:11px}.fpf-fee-input{width:150px;height:38px;display:flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #ccd7e6;border-radius:7px;background:#fff;color:#77849a}.fpf-fee-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#26344f}.fpf-fee-total{min-height:66px;display:flex;align-items:center;justify-content:space-between;color:#53617a}.fpf-fee-total strong{color:#e84a22;font-size:20px}.fpf-confirm{margin:20px 24px;padding:18px 20px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}.fpf-confirm span{display:block;color:#77849a;font-size:11px}.fpf-confirm strong{display:block;margin:6px 0 10px;color:#e84a22;font-size:24px}.fpf-confirm p{margin:0;color:#69758a;font-size:12px;line-height:1.7}.fpf-processed{padding:8px 24px 16px}.fpf-processed-row{min-height:58px;display:grid;grid-template-columns:2fr 1.2fr 1.2fr 100px;align-items:center;gap:12px;padding:0 10px;border-bottom:1px solid #edf0f5;color:#46536b;font-size:13px}.fpf-processed-row.head{min-height:38px;color:#8792a5;font-size:11px}.fpf-toast{position:fixed;z-index:180;left:50%;bottom:28px;transform:translateX(-50%);padding:11px 16px;border-radius:8px;background:#1e293b;color:#fff;box-shadow:0 12px 36px rgba(15,23,42,.22);font-size:12px}
@media(max-width:1350px){.fpf-content{width:calc(100vw - 32px)}.fpf-toolbar{align-items:flex-start}.fpf-actions{flex-wrap:wrap;justify-content:flex-end}.fpf-search{width:210px}.fpf-quote-form{grid-template-columns:repeat(3,1fr)} }
.fpf-quote-modal{width:min(1180px,calc(100vw - 48px))}
.fpf-quote-form.master-linked{grid-template-columns:minmax(155px,1.2fr) minmax(180px,1.35fr) minmax(125px,.85fr) minmax(130px,.9fr) minmax(140px,.9fr) minmax(130px,.85fr) auto;align-items:start}
.fpf-quote-form output{width:100%;height:38px;display:flex;align-items:center;padding:0 12px;border:1px solid #d8e1ec;border-radius:7px;background:#f5f7fa;color:#5f6c84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fpf-quote-form select:disabled{background:#f3f5f8;color:#98a2b3;cursor:not-allowed}
.fpf-quote-submit{display:grid;gap:5px;padding-top:18px;min-width:96px}.fpf-quote-submit .fpf-btn{width:100%}.fpf-form-status{max-width:130px;color:#7b8799;font-size:10px;line-height:1.35}.fpf-form-status.saving{color:#1668e8}.fpf-form-status.error{color:#c93e2d}
.fpf-master-state{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:#fbfcfe;text-align:center}.fpf-master-state strong{color:#334155;font-size:14px}.fpf-master-state span{max-width:560px;color:#7c879a;font-size:12px;line-height:1.55}.fpf-master-state.loading:before{content:"";width:24px;height:24px;border:3px solid #d8e5f7;border-top-color:#1668e8;border-radius:50%;animation:fpfspin .8s linear infinite}.fpf-master-state.error{background:#fffaf9}.fpf-master-state.error strong{color:#b83a2a}.fpf-master-state.empty{background:#fafbfd}
.fpf-master-notice{min-height:42px;display:flex;align-items:center;gap:10px;padding:7px 24px;border-bottom:1px solid #e2e8f0;background:#fffaf0;color:#8a6420;font-size:11px}.fpf-master-notice strong{white-space:nowrap}.fpf-master-notice span{flex:1}.fpf-master-notice .fpf-btn{height:30px}
.fpf-quote-channel{display:grid;gap:3px}.fpf-quote-channel small{color:#8792a5;font-size:10px}.fpf-quote-match{font-weight:500}.fpf-quote-match.matched{color:#25804e}.fpf-quote-match.unmatched{color:#c76b32}
.fpf-foot{flex-wrap:wrap}.fpf-foot-warning{color:#b45309;font-size:11px;font-weight:600}.fpf-modal-foot>span{line-height:1.5}
@media(max-width:1350px){.fpf-quote-form.master-linked{grid-template-columns:repeat(3,minmax(0,1fr))}.fpf-quote-submit{padding-top:18px}}
@media(max-width:760px){.fpf-backdrop{padding:12px}.fpf-quote-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.fpf-quote-form.master-linked{grid-template-columns:1fr}.fpf-quote-submit{padding-top:0}.fpf-quote-row{grid-template-columns:1.2fr 1.4fr 1fr}.fpf-quote-row>*:nth-child(n+4){display:none}.fpf-modal-foot{align-items:flex-start;flex-direction:column}}
