:root{font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#172033;background:#f7f9fc;font-synthesis:none;text-rendering:optimizeLegibility;--blue: #1769e8;--blue-soft: #edf5ff;--line: #dfe5ee;--muted: #6c7789;--surface: #ffffff;--green: #168a56;--green-soft: #eaf8f1;--amber: #b86709;--amber-soft: #fff4e7;--red: #d54141;--red-soft: #fff0f0}*{box-sizing:border-box}body{margin:0;min-width:1180px;min-height:100vh;background:#f7f9fc;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{color:inherit}.app{min-height:100vh}.app-header{height:64px;display:grid;grid-template-columns:260px 1fr 260px;align-items:center;padding:0 18px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;width:max-content}.back-tools{height:34px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#344054;padding:0 12px;font-size:13px;font-weight:650;cursor:pointer}.back-tools:hover{border-color:#aab5c7;background:#fafbfc}.back-tools:focus-visible{outline:2px solid #8db7ef;outline-offset:2px}.brand-divider{color:#d0d5dd;font-weight:400}.brand-mark{width:30px;height:30px;display:block;object-fit:contain}.brand-name{font-size:16px;white-space:nowrap}.workflow{display:flex;align-self:stretch;justify-content:center;gap:34px}.workflow button,.header-link{border:0;background:transparent;padding:0 14px;position:relative;cursor:pointer;font-size:15px;color:#3c4658}.workflow button:after,.header-link:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:transparent}.workflow button.active,.header-link.active{color:#111827;font-weight:700}.workflow button.active:after,.header-link.active:after{background:var(--blue)}.header-actions{height:64px;display:flex;align-items:center;justify-content:flex-end;gap:4px}.header-link{height:64px;white-space:nowrap}.header-icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid transparent;border-radius:7px;background:transparent;color:#586579;cursor:pointer;font-size:18px;line-height:1}.header-icon-button:hover,.header-icon-button.active{border-color:#c8d9f2;background:#f1f6fd;color:var(--blue)}.header-icon-button:focus-visible{outline:2px solid #8db7ef;outline-offset:2px}.eyebrow{color:var(--blue);font-weight:700;font-size:11px;letter-spacing:.06em}.content{padding:16px 18px 0}.bill-summary{min-height:74px;background:#fff;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:140px 118px 1fr;align-items:center;padding:0 18px;margin-bottom:14px}.upload-state{display:flex;flex-direction:column;gap:3px;border-right:1px solid var(--line);color:var(--green)}.upload-state.processed{color:#1168c5}.upload-state span{max-width:120px;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bill-summary dl{margin:0;display:grid;grid-template-columns:repeat(5,minmax(125px,1fr))}.bill-summary dl div{padding:0 26px;border-right:1px solid #edf0f5}.bill-summary dt,.export-panel dt{color:var(--muted);font-size:12px;margin-bottom:5px}.bill-summary dd,.export-panel dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}.bill-attachment-button{width:104px;height:42px;display:flex;align-items:center;justify-content:center;gap:8px;margin-left:12px;padding:0 9px;border:1px solid #cbd9ec;border-radius:7px;background:#f7faff;color:#225caa;cursor:pointer}.bill-attachment-button:hover{border-color:#8bb6ef;background:#edf5ff}.bill-attachment-button:disabled{border-color:#e1e6ed;background:#f7f8fa;color:#9aa4b2;cursor:not-allowed}.bill-attachment-button>span:first-child{font-size:17px;line-height:1}.bill-attachment-button strong,.bill-attachment-button small{display:block;text-align:left;white-space:nowrap}.bill-attachment-button strong{font-size:11px}.bill-attachment-button small{margin-top:2px;color:#718099;font-size:9px}.secondary-button{height:38px;padding:0 16px;background:#fff;border:1px solid #cfd7e3;border-radius:6px;cursor:pointer}.primary-button{height:42px;min-width:168px;padding:0 22px;border:1px solid var(--blue);border-radius:6px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}.primary-button:hover{background:#0f5fcf}.primary-button:disabled{border-color:#b8c7d8;background:#b8c7d8;cursor:not-allowed}.primary-button.full{width:100%;margin-top:18px}.notice{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;margin:-2px 0 12px;background:var(--blue-soft);border:1px solid #cfe2fb;border-radius:6px}.notice div{display:flex;flex-direction:column;gap:2px}.notice span{color:var(--muted);font-size:12px}.notice button{border:0;background:transparent;color:var(--blue);cursor:pointer}.table-shell{background:#fff;border:1px solid var(--line);border-radius:8px 8px 0 0;overflow:hidden}.table-scroll{height:calc(100vh - 212px);min-height:560px;overflow:auto}.bill-table{width:100%;min-width:1550px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11.5px}.bill-table th,.bill-table td{padding:8px 6px;border-right:1px solid #edf0f5;border-bottom:1px solid #e7ebf1;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.bill-table th:last-child,.bill-table td:last-child{border-right:0}.bill-table thead th{position:sticky;top:42px;z-index:4;background:#f8fafc;color:#3f4a5d;font-weight:650;white-space:nowrap}.bill-table thead .group-head th{top:0;height:42px;text-align:center;color:#202a3a;background:#fbfcfe;border-bottom:2px solid #d6dee9;font-size:13px}.data-row:hover td{background:#fbfdff}.data-row.selected td{background:var(--blue-soft);border-top:1px solid #72a8f7;border-bottom-color:#72a8f7}.fba-cell button,.ledger-fba{border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.fba-entry{display:flex;align-items:center;gap:7px}.fba-entry input{width:15px;height:15px;margin:0;accent-color:var(--blue);cursor:pointer}.fba-entry input:disabled{cursor:not-allowed}.fba-cell button span,.ledger-fba strong{display:block;font-weight:700;color:#1e293b;white-space:nowrap}.fba-cell button small,.ledger-fba small{display:block;color:var(--blue);margin-top:3px;font-size:11px}.numeric{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.strong{font-weight:700;color:#1d2635}.status-tag{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:2px 8px;border-radius:5px;font-weight:700;font-size:11px;white-space:nowrap}.status-tag.ok{color:var(--green);background:var(--green-soft)}.status-tag.warn{color:var(--amber);background:var(--amber-soft)}.status-tag.info{color:#1761bc;background:#eaf3ff}.status-tag.danger{color:var(--red);background:var(--red-soft)}.detail-row td{padding:0;border-bottom:1px solid #72a8f7;background:#fff}.expanded-detail{display:grid;grid-template-columns:1fr 1fr 1.16fr;border-left:1px solid #72a8f7;border-right:1px solid #72a8f7}.detail-section{min-width:0;padding:14px 14px 16px;border-right:1px solid var(--line)}.detail-section:last-child{border-right:0}.detail-section h3{margin:0 0 12px;font-size:14px}.demo-label{font-size:10px;font-weight:600;color:#4a6b94;background:#edf5ff;padding:3px 5px;border-radius:4px;margin-left:5px}.detail-kpis{display:flex;gap:18px;margin-bottom:12px;color:var(--muted);font-size:11px}.detail-kpis strong{display:block;color:#263043;margin-top:2px;font-size:12px}.mini-table,.simple-table,.group-table{width:100%;border-collapse:collapse;table-layout:fixed}.mini-table th,.mini-table td,.simple-table th,.simple-table td,.group-table th,.group-table td{padding:8px;border:1px solid #e4e9f0;text-align:left;font-size:11px;vertical-align:top}.mini-table th,.simple-table th,.group-table th{background:#f8fafc;color:#4c596c;font-weight:650}.mini-table small,.simple-table small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}.total-row td{font-weight:700;background:#fbfcfe}.formula-note{margin:8px 0 0;font-size:11px;color:var(--blue)}.empty-history{padding:25px 12px;text-align:center;color:var(--muted);background:#f8fafc;border:1px dashed #d8dee8;border-radius:5px}.duplicate-rule{margin-top:10px;padding:9px 10px;background:#f7f9fc;border-left:3px solid var(--blue)}.duplicate-rule.blocked{background:var(--red-soft);border-left-color:var(--red)}.duplicate-rule p{margin:3px 0 0;color:var(--muted);line-height:1.45}.audit-amounts{display:flex;gap:18px;margin-top:8px;color:var(--muted)}.audit-amounts b{color:#243044;margin-left:3px}.page-footer{min-height:58px;position:sticky;bottom:0;z-index:12;display:flex;align-items:center;justify-content:flex-end;gap:30px;padding:8px 18px;margin:0 -18px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px #1f2d420d}.page-footer span{color:var(--muted)}.page-footer strong{color:#172033}.attention{color:var(--red)!important}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.toolbar-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.toolbar-note strong{color:#263043}.audit-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin-bottom:10px}.audit-summary button{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;color:var(--muted)}.audit-summary button strong{color:#273246;font-size:16px}.audit-summary button.active{border-color:#8db8f5;background:var(--blue-soft);color:var(--blue);box-shadow:0 0 0 2px #1769e80d}.filter-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff}.filter-tabs button{height:30px;padding:0 14px;border:0;border-radius:4px;background:transparent;cursor:pointer;color:var(--muted)}.filter-tabs button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.toolbar input,.ledger-search input,.ledger-search select,.simple-table select{height:38px;border:1px solid #cfd7e3;border-radius:6px;background:#fff;padding:0 12px;outline:none}.toolbar input{width:300px}.toolbar input:focus,.ledger-search input:focus,.ledger-search select:focus,.simple-table select:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.book-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(360px,.6fr);gap:16px;align-items:start}.book-layout>section,.export-panel,.ledger-page{background:#fff;border:1px solid var(--line);border-radius:8px}.book-layout>section{padding:18px}.account-assignment{display:grid;gap:4px}.account-assignment select{width:100%;min-width:0}.account-match-source{margin:0!important;font-size:9.5px!important}.account-match-source.auto{color:#1769b6!important}.account-match-source.learned{color:var(--green)!important}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.section-heading h2,.export-panel h2{margin:0;font-size:17px}.section-heading p{margin:4px 0 0;color:var(--muted)}.simple-table th,.simple-table td{font-size:12px;padding:10px}.simple-table td strong{display:block}.simple-table select{width:100%;height:34px}.fee-chips{display:flex;flex-wrap:wrap;gap:5px}.fee-chips span{padding:4px 6px;border-radius:4px;background:#f2f5f9;color:#445066;font-size:11px;white-space:nowrap}.export-panel{padding:18px;position:sticky;top:110px}.export-panel.processed{border-color:#a9d9c7;background:#fbfffd}.export-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.export-panel dl{margin:15px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-panel dl div{padding-bottom:10px;border-bottom:1px solid #edf0f5}.group-table th,.group-table td{font-size:11px;padding:8px}.export-total{display:flex;justify-content:space-between;margin-top:14px}.export-total.final{padding-top:14px;border-top:1px solid var(--line);font-size:16px}.export-panel>p{color:var(--muted);font-size:11px;line-height:1.5}.export-file-button{width:100%;height:40px;margin-top:18px}.complete-bill-button{width:100%;margin-top:8px!important;background:#137a52;border-color:#137a52}.complete-bill-button:hover{background:#0e6845}.bill-completed-card{display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:13px 14px;border:1px solid #a9d9c7;border-radius:7px;background:#eaf8f2}.bill-completed-card strong{color:#116b49;font-size:13px}.bill-completed-card span{color:#4b7868;font-size:10.5px}.ledger-center-page{max-width:1660px;margin:0 auto;padding:6px 0 38px}.ledger-overview{display:grid;grid-template-columns:minmax(430px,.85fr) minmax(700px,1.15fr);align-items:stretch;gap:14px;margin-bottom:14px}.ledger-overview-copy,.ledger-kpis,.ledger-workspace{border:1px solid var(--line);border-radius:9px;background:#fff}.ledger-overview-copy{padding:25px 28px;background:linear-gradient(135deg,#fff,#f5f9ff)}.ledger-overview-copy h1{margin:5px 0 7px;color:#142039;font-size:26px}.ledger-overview-copy p{max-width:690px;margin:0;color:#667386;font-size:12px;line-height:1.65}.ledger-kpis{display:grid;grid-template-columns:repeat(4,minmax(135px,1fr));padding:15px 8px}.ledger-kpis>div{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;padding:0 20px;border-right:1px solid #e7ebf1}.ledger-kpis>div:last-child{border-right:0}.ledger-kpis span{color:#7a8596;font-size:10.5px}.ledger-kpis strong{overflow:hidden;color:#1d2a40;font-size:18px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.ledger-kpis .blocked strong{color:var(--red)}.ledger-workspace{overflow:hidden}.ledger-toolbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid #e2e7ee}.ledger-view-tabs{display:flex;align-items:center;gap:4px;padding:3px;border-radius:7px;background:#f1f4f8}.ledger-view-tabs button{height:36px;padding:0 16px;border:1px solid transparent;border-radius:5px;background:transparent;color:#59667a;cursor:pointer}.ledger-view-tabs button b{margin-left:5px;font-size:11px}.ledger-view-tabs button.active{border-color:#bfd2ed;background:#fff;color:var(--blue);font-weight:700;box-shadow:0 2px 7px #29436712}.ledger-search{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.ledger-search input{width:255px}.ledger-search select{width:112px;padding-inline:9px;font-size:11px}.ledger-reset-filter{height:38px;padding:0 10px;border:1px solid #d5dde8;border-radius:6px;background:#fff;color:#657185;cursor:pointer;font-size:11px}.ledger-reset-filter:hover{border-color:#9dbce5;color:var(--blue)}.ledger-table-note{min-height:44px;display:flex;align-items:center;gap:14px;padding:0 16px;border-bottom:1px solid #e7ebf1;background:#fbfcfe}.ledger-table-note strong{color:#29364d;font-size:11.5px}.ledger-table-note span{color:#7b8798;font-size:10.5px}.ledger-table-scroll{overflow-x:auto}.ledger-table,.bill-ledger-table{min-width:1420px;border:0}.ledger-table th,.ledger-table td,.bill-ledger-table th,.bill-ledger-table td{height:50px;padding:9px 12px;vertical-align:middle}.ledger-table th:nth-child(1){width:13%}.ledger-table th:nth-child(2){width:10%}.ledger-table th:nth-child(3){width:10%}.ledger-table th:nth-child(4){width:7%}.ledger-table th:nth-child(5),.ledger-table th:nth-child(6),.ledger-table th:nth-child(7){width:9%}.ledger-table th:nth-child(8){width:10%}.ledger-table th:nth-child(9),.ledger-table th:nth-child(10){width:8%}.ledger-table th:nth-child(11){width:6%}.bill-ledger-table th:nth-child(1){width:14%}.bill-ledger-table th:nth-child(2){width:11%}.bill-ledger-table th:nth-child(3){width:8%}.bill-ledger-table th:nth-child(4){width:7%}.bill-ledger-table th:nth-child(5){width:10%}.bill-ledger-table th:nth-child(6){width:14%}.bill-ledger-table th:nth-child(7){width:8%}.bill-ledger-table th:nth-child(8){width:12%}.bill-ledger-table th:nth-child(9){width:10%}.bill-ledger-table th:nth-child(10){width:6%}.ledger-dimension-values{color:#35445d;font-size:11px;line-height:1.4}.ledger-channel-tag{color:inherit;font-size:inherit;white-space:nowrap}.ledger-selected td{background:#eaf3ff;border-top-color:#82ade7;border-bottom-color:#82ade7}.ledger-detail-row td{height:auto;padding:0}.ledger-records{padding:14px 16px 17px;border-top:2px solid #6fa5eb;border-bottom:1px solid #9cbde8;background:#f7faff}.ledger-records-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:11px}.ledger-records-head strong,.ledger-records-head span{display:block}.ledger-records-head strong{color:#1f2e45;font-size:13px}.ledger-records-head span{margin-top:4px;color:#6d798c;font-size:10.5px}.ledger-records-head>b{color:#164f9f;font-size:13px;white-space:nowrap}.ledger-records table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}.ledger-records th,.ledger-records td{height:38px;padding:7px 9px;border:1px solid #dde5ef;color:#4d5a6e;font-size:10.5px;text-align:left}.ledger-records th{background:#f3f6fa;color:#68758a}.ledger-records th:nth-child(1){width:8%}.ledger-records th:nth-child(2){width:11%}.ledger-records th:nth-child(3){width:9%}.ledger-records th:nth-child(4){width:15%}.ledger-records th:nth-child(5){width:11%}.ledger-records th:nth-child(6){width:8%}.ledger-records th:nth-child(7){width:8%}.ledger-records th:nth-child(8){width:22%}.ledger-records th:nth-child(9){width:8%}.bill-ledger-detail{padding:14px 16px 18px;border-top:2px solid #6fa5eb;border-bottom:1px solid #9cbde8;background:#f7faff}.bill-ledger-detail-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:11px}.bill-ledger-detail-head>div:first-child strong,.bill-ledger-detail-head>div:first-child span{display:block}.bill-ledger-detail-head>div:first-child strong{color:#1f2e45;font-size:13px}.bill-ledger-detail-head>div:first-child span{margin-top:4px;color:#6d798c;font-size:10.5px}.bill-ledger-detail-head>div:last-child{display:flex;align-items:center;gap:8px}.bill-ledger-detail table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}.bill-ledger-detail th,.bill-ledger-detail td{height:40px;padding:7px 9px;border:1px solid #dde5ef;color:#4d5a6e;font-size:10.5px;text-align:left;vertical-align:middle}.bill-ledger-detail th{background:#f3f6fa;color:#68758a}.bill-ledger-detail th:nth-child(1){width:16%}.bill-ledger-detail th:nth-child(2){width:14%}.bill-ledger-detail th:nth-child(3){width:9%}.bill-ledger-detail th:nth-child(4){width:35%}.bill-ledger-detail th:nth-child(5){width:13%}.bill-ledger-detail th:nth-child(6){width:13%}.bill-detail-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px dashed #cfd9e7;background:#fff;color:#7b8798}.bill-detail-empty strong{color:#435169}.ledger-attachment-action{min-height:30px;padding:0 9px;border:1px solid #bcd1ee;border-radius:5px;background:#f4f8ff;color:#1761bc;cursor:pointer;font-size:10.5px;white-space:nowrap}.ledger-attachment-action:hover{border-color:#7ba9e6;background:#eaf3ff}.ledger-account-list{color:#32435d;font-size:11px;line-height:1.4}.ledger-muted{color:#939dab;font-size:10.5px}.ledger-empty{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#7a8798}.ledger-empty strong{color:#40506a}.bill-completed-card .text-button{width:max-content;margin-top:5px;padding:0}.toast{position:fixed;right:24px;bottom:24px;z-index:50;display:flex;align-items:center;gap:16px;max-width:520px;padding:13px 16px;background:#172033;color:#fff;border-radius:7px;box-shadow:0 14px 38px #0f172a33}.toast button{color:#bcd6ff;border:0;background:transparent;cursor:pointer}.home-page{max-width:1460px;margin:0 auto;padding:22px 10px 46px}.home-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(390px,.65fr);gap:18px;align-items:stretch}.hero-copy,.upload-card,.home-section{background:var(--surface);border:1px solid var(--line);border-radius:10px}.hero-copy{padding:42px 44px;background:linear-gradient(135deg,#fff,#f5f9ff)}.hero-copy h1{max-width:690px;margin:8px 0 12px;font-size:30px;line-height:1.28;color:#111827}.hero-copy>p{max-width:680px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}.flow-hint{display:flex;align-items:center;gap:13px;margin-top:30px;color:#3d4a5f;font-size:13px}.flow-hint span{display:flex;align-items:center;gap:7px}.flow-hint b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--blue-soft);color:var(--blue)}.flow-hint i{color:#9aa7b9;font-style:normal}.upload-card{display:grid;grid-template-columns:48px 1fr;column-gap:14px;align-content:center;padding:28px;box-shadow:0 12px 28px #29466f0d}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.upload-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:9px;background:#eaf8f1;color:var(--green);font-size:12px;font-weight:800}.upload-card h2{margin:1px 0 5px;font-size:18px}.upload-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.upload-actions{grid-column:1 / -1;display:grid;gap:10px;margin-top:24px}.upload-actions>.primary-button,.upload-actions>.secondary-button{width:100%;min-height:42px}.selected-upload-file{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 8px 5px 5px;border:1px solid #cbd8e8;border-radius:7px;background:#f7faff}.selected-upload-file:hover{border-color:#9dbfe9;background:#f3f8ff}.selected-upload-open{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:4px;border:0;border-radius:5px;background:transparent;cursor:pointer;text-align:left}.selected-upload-open:focus-visible{outline:2px solid #74a9ee;outline-offset:1px}.selected-upload-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:#e7f6ef;color:#148055;font-size:9px;font-weight:800}.selected-upload-details{min-width:0}.selected-upload-details strong{display:block;overflow:hidden;color:#17233a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.selected-upload-details small{display:block;margin-top:3px;color:#6d7c91;font-size:9.5px}.selected-upload-delete{padding:5px 7px;border:0;border-radius:4px;background:transparent;color:#c43a35;cursor:pointer;font-size:10px}.selected-upload-delete:hover{background:#fff0ef}.selected-upload-delete:disabled{cursor:not-allowed;opacity:.5}.upload-confirm-button{box-shadow:0 7px 18px #1f67e02e}.upload-blocker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#121b2a6b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.upload-blocker{width:min(560px,calc(100vw - 40px));padding:20px;border:1px solid #f2b8b5;border-radius:10px;background:#fff;box-shadow:0 24px 70px #1e293b40}.upload-blocker header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.upload-blocker h2{margin:4px 0 0;color:#922c2c;font-size:20px}.upload-blocker header>button{width:34px;height:34px;border:1px solid #d9e0e9;border-radius:6px;background:#fff;color:#637083;cursor:pointer;font-size:20px}.upload-blocker>p{margin:14px 0;color:#5e6b7d;font-size:12px;line-height:1.6}.upload-blocker ul{margin:0;padding:10px 14px 10px 32px;border-radius:7px;background:#fff2f1;color:#8d3434;font-size:12px;line-height:1.8}.upload-warning{display:grid;gap:4px;margin-top:10px;padding:10px 12px;border-radius:7px;background:#fff8e9;color:#7b5b20;font-size:11px}.upload-blocker footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.repair-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:24px;background:#121b2a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.original-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:135;display:grid;place-items:center;padding:24px;background:#121b2a80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.original-preview{width:min(1480px,calc(100vw - 48px));height:min(900px,calc(100vh - 48px));min-height:560px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #cdd7e5;border-radius:11px;background:#fff;box-shadow:0 28px 78px #12213847}.original-preview>header{min-height:76px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:15px 18px 13px;border-bottom:1px solid #e2e7ee}.original-preview>header h2{max-width:950px;margin:3px 0 0;overflow:hidden;color:#182338;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.original-preview>header p{margin:5px 0 0;color:#6f7b8d;font-size:10.5px}.original-preview>header>button{width:32px;height:32px;border:1px solid #d3dbe6;border-radius:6px;background:#fff;color:#66748a;cursor:pointer;font-size:20px;line-height:1}.original-preview>header>button:hover{background:#f3f6fa}.sheet-tabs{display:flex;align-items:flex-end;gap:2px;min-height:41px;padding:7px 14px 0;overflow-x:auto;border-bottom:1px solid #dfe5ee;background:#f7f9fc}.sheet-tabs button{min-width:90px;height:34px;padding:0 14px;border:1px solid transparent;border-bottom:0;border-radius:6px 6px 0 0;background:transparent;color:#5d6879;cursor:pointer;white-space:nowrap}.sheet-tabs button.active{border-color:#cfd8e6;background:#fff;color:var(--blue);font-weight:700}.original-sheet-scroll{min-height:0;overflow:auto;background:#fff}.original-sheet-table{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:100%;color:#273349;font-size:11px}.original-sheet-table th,.original-sheet-table td{min-width:96px;max-width:240px;height:30px;padding:5px 8px;overflow:hidden;border-right:1px solid #e2e7ee;border-bottom:1px solid #e2e7ee;text-overflow:ellipsis;white-space:nowrap}.original-sheet-table thead th{position:sticky;top:0;z-index:3;background:#f3f6f9;color:#647084;text-align:center}.original-sheet-table .sheet-row-number{position:sticky;left:0;z-index:2;min-width:48px;width:48px;max-width:48px;background:#f3f6f9;color:#7a8698;text-align:center}.original-sheet-table thead .sheet-row-number{z-index:4}.original-preview-loading,.original-preview-error{display:flex;min-height:240px;align-items:center;justify-content:center;gap:10px;color:#647084}.original-preview-error{flex-direction:column;color:#9a3b3b}.original-preview>footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 16px;border-top:1px solid #dfe5ee;background:#fbfcfe}.original-preview>footer>span{color:#758195;font-size:10px;line-height:1.5}.original-preview>footer>div{display:flex;align-items:center;gap:8px}.original-download{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.repair-wizard{width:min(1180px,calc(100vw - 40px));height:min(820px,calc(100vh - 40px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #cfd8e5;border-radius:12px;background:#fff;box-shadow:0 28px 80px #141f3047}.repair-header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 20px;border-bottom:1px solid var(--line)}.repair-header h2{margin:4px 0 3px;font-size:19px}.repair-header p{margin:0;color:var(--muted);font-size:11px}.repair-header>button{width:34px;height:34px;border:1px solid #d7dee8;border-radius:6px;background:#fff;color:#67758a;cursor:pointer;font-size:19px}.repair-steps{min-height:56px;display:flex;align-items:center;justify-content:center;gap:64px;padding:8px 20px;border-bottom:1px solid var(--line);background:#fafbfd}.repair-steps span{position:relative;display:flex;align-items:center;gap:8px;color:#8792a3;font-size:12px}.repair-steps span+span:before{content:"";position:absolute;right:calc(100% + 14px);width:36px;height:1px;background:#d8dee8}.repair-steps b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e9edf3;color:#69758a;font-size:10px}.repair-steps .active{color:#1c2b42;font-weight:700}.repair-steps .active b{background:var(--blue);color:#fff}.repair-steps .done{color:var(--green)}.repair-steps .done b{background:var(--green-soft);color:var(--green)}.repair-body{min-height:0;overflow:auto;padding:18px 20px}.repair-sheet-bar{display:flex;align-items:center;gap:18px;margin-bottom:12px}.repair-sheet-bar label{display:flex;align-items:center;gap:8px;color:#4b586d;font-size:11px}.repair-sheet-bar select{height:34px;min-width:180px;padding:0 9px;border:1px solid #cfd7e3;border-radius:6px;background:#fff}.repair-sheet-bar>span{color:var(--muted);font-size:11px}.repair-sheet-bar>strong{margin-left:auto;color:var(--blue);font-size:11px}.repair-grid-scroll{height:calc(100% - 46px);overflow:auto;border:1px solid #dbe2eb;border-radius:7px}.repair-grid{min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.repair-grid th,.repair-grid td{height:34px;min-width:118px;max-width:180px;padding:6px 9px;overflow:hidden;border-right:1px solid #e6eaf0;border-bottom:1px solid #e6eaf0;background:#fff;color:#465267;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.repair-grid thead th{position:sticky;top:0;z-index:3;height:30px;background:#f5f7fa;color:#6d788a;text-align:center}.repair-grid .repair-row-number{position:sticky;left:0;z-index:4;min-width:44px;width:44px;background:#f7f9fc;text-align:center}.repair-grid .repair-row-action{position:sticky;left:44px;z-index:4;min-width:86px;width:86px;background:#fff;box-shadow:7px 0 13px -13px #1e2b3ea6}.repair-grid thead .repair-row-action{background:#f5f7fa}.repair-grid .repair-row-action button{padding:5px 7px;border:1px solid #bad1f4;border-radius:4px;background:#f2f7ff;color:var(--blue);cursor:pointer;font-size:10px;white-space:nowrap}.repair-grid tbody tr:hover td,.repair-grid tbody tr:hover th{background:#f6f9fe}.repair-grid tbody tr.selected td,.repair-grid tbody tr.selected th{background:#eaf3ff}.repair-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px}.repair-section-heading h3{margin:0;font-size:16px}.repair-section-heading p{margin:4px 0 0;color:var(--muted);font-size:11px}.repair-required-fields{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;padding:14px;border:1px solid #cbdcf4;border-radius:8px;background:#f7faff}.repair-field{display:flex;flex-direction:column;gap:6px;color:#40506a;font-size:10.5px;font-weight:650}.repair-field select{width:100%;height:36px;padding:0 8px;border:1px solid #cfd7e3;border-radius:6px;background:#fff;color:#263247;outline:none}.repair-field select:focus,.repair-total-field input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.repair-optional{margin-top:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.repair-optional summary{padding:13px 14px;color:#344158;cursor:pointer;font-size:11px;font-weight:700}.repair-optional[open] summary{border-bottom:1px solid var(--line)}.repair-optional>div{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;padding:14px}.repair-total-field{display:grid;grid-template-columns:110px 240px 1fr;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;color:#40506a;font-size:11px;font-weight:700}.repair-total-field input{height:36px;padding:0 10px;border:1px solid #cfd7e3;border-radius:6px;outline:none}.repair-total-field small{color:var(--muted);font-size:10px;font-weight:400}.repair-safety-note{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:12px 14px;border-left:3px solid var(--blue);background:#eef5ff}.repair-safety-note strong{color:#21334e;font-size:12px}.repair-safety-note span{color:#5e6f86;font-size:10.5px;line-height:1.5}.repair-validation-step{display:grid;align-content:center;max-width:900px;width:100%;margin:0 auto}.repair-pass,.repair-failed{text-align:center}.repair-pass h3,.repair-failed h3{margin:10px 0 5px;font-size:22px}.repair-pass p,.repair-failed p{margin:0;color:var(--muted);font-size:12px}.repair-validation-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}.repair-validation-stats div{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fafbfd;text-align:center}.repair-validation-stats span{display:block;color:var(--muted);font-size:10px}.repair-validation-stats strong{display:block;margin-top:7px;color:#1b2a41;font-size:17px}.repair-pass-rule{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:13px 15px;border-radius:7px;background:#eef9f4;color:#26704e;font-size:11px}.repair-blockers{margin:22px auto 0;padding:12px 16px 12px 38px;border-radius:8px;background:#fff2f1;color:#8e3434;font-size:11px;line-height:1.8}.repair-footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 20px;border-top:1px solid var(--line);background:#fff}.repair-footer>span{color:var(--muted);font-size:10.5px}.repair-footer>div{display:flex;gap:8px}.home-section{margin-top:18px;padding:22px}.home-section .section-heading{align-items:center}.text-button,.row-action,.detail-button{border:0;background:transparent;color:var(--blue);cursor:pointer}.text-button{padding:8px}.recent-table{width:100%;border-collapse:collapse;table-layout:fixed}.recent-table th,.recent-table td{padding:14px 12px;border-bottom:1px solid #e8edf3;text-align:left;font-size:12px}.recent-table th{color:var(--muted);font-weight:650;background:#f8fafc}.recent-table tbody tr:last-child td{border-bottom:0}.recent-table td strong{color:#1d2738}.recent-table td small{display:block;margin-top:3px;color:var(--muted)}.row-action{font-weight:700;padding:7px 9px;border-radius:5px;background:var(--blue-soft);white-space:nowrap}.forwarder-page{max-width:1540px;margin:0 auto;padding:10px 2px 36px}.forwarder-page-title{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px}.forwarder-page-title h1{margin:4px 0;font-size:24px}.forwarder-page-title p{margin:0;color:var(--muted);font-size:13px}.forwarder-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:14px;align-items:start}.forwarder-list,.template-workspace,.setup-card,.recognition-preview{background:#fff;border:1px solid var(--line);border-radius:9px}.forwarder-list{overflow:hidden}.forwarder-list-head{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--line)}.forwarder-list-head span{color:var(--muted);font-size:11px}.forwarder-list>button{width:100%;min-height:68px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid #edf0f4;background:#fff;text-align:left;cursor:pointer}.forwarder-list>button:hover{background:#f8fbff}.forwarder-list>button.active{background:#eef5ff;box-shadow:inset 3px 0 0 var(--blue)}.forwarder-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#eff3f8;color:#30405a;font-weight:800}.forwarder-list>button.active .forwarder-avatar{background:#dcecff;color:var(--blue)}.forwarder-list>button>span:nth-child(2) strong,.forwarder-list>button>span:nth-child(2) small{display:block}.forwarder-list>button>span:nth-child(2) small{margin-top:3px;color:var(--muted);font-size:10px}.forwarder-list>button em{color:var(--green);font-size:10px;font-style:normal;white-space:nowrap}.forwarder-list-note{margin:12px;padding:12px;border-radius:7px;background:#f7f9fc}.forwarder-list-note strong{font-size:12px}.forwarder-list-note p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.template-workspace{min-width:0;overflow:hidden}.template-head{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-bottom:1px solid var(--line)}.template-head>div:last-child{display:flex;gap:8px}.template-title-line{display:flex;align-items:center;gap:10px}.template-title-line h2{margin:0;font-size:19px}.template-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.template-stats{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);background:#fbfcfe}.template-stats>div{padding:14px 18px;border-right:1px solid #e7ebf1}.template-stats>div:last-child{border-right:0}.template-stats span,.template-stats small{display:block;color:var(--muted);font-size:10px}.template-stats strong{display:block;margin:4px 0 3px;color:#1c2739;font-size:18px}.template-content-grid{display:grid;grid-template-columns:minmax(620px,1.55fr) minmax(340px,.75fr);gap:12px;padding:12px;background:#f7f9fc}.template-panel{background:#fff;border:1px solid var(--line);border-radius:8px}.template-panel-head{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid var(--line)}.template-panel-head h3{margin:0;font-size:14px}.template-panel-head p{margin:4px 0 0;color:var(--muted);font-size:10.5px}.template-panel-head>span{color:#718096;font-size:10px}.mapping-table{width:100%;border-collapse:collapse;table-layout:fixed}.mapping-table th,.mapping-table td{padding:10px 12px;border-bottom:1px solid #e9edf3;text-align:left;font-size:11px}.mapping-table th{color:var(--muted);background:#fafbfd;font-weight:650}.mapping-table th:nth-child(1){width:18%}.mapping-table th:nth-child(2){width:22%}.mapping-table th:nth-child(3){width:25%}.mapping-table tbody tr:last-child td{border-bottom:0}.mapping-table td:first-child,.mapping-table td:last-child{color:#657286}.source-field{display:inline-flex;padding:4px 7px;border-radius:4px;background:#f2f5f9;color:#344158}.template-side{display:flex;flex-direction:column;gap:12px;min-width:0}.fee-field-cloud{display:flex;flex-wrap:wrap;gap:7px;padding:12px 14px}.fee-field-cloud>span{min-width:96px;display:flex;flex-direction:column;gap:2px;padding:7px 8px;border:1px solid #dfe5ed;border-radius:6px;background:#fff;color:#354156;font-size:11px}.fee-field-cloud>span.used{border-color:#c7dcf8;background:#f5f9ff}.fee-field-cloud>span.reserved{color:#778397;background:#fafbfd}.fee-field-cloud small{color:var(--muted);font-size:9px}.fee-field-cloud .used small{color:#4b77ad}.hidden-fields-note{margin:0 14px 12px;padding:8px 10px;border-radius:5px;background:#f7f9fc;color:#657286;font-size:10px;line-height:1.45}.display-options{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:8px 12px 12px}.display-options label{display:flex;align-items:center;gap:7px;min-height:34px;color:#3f4b5d;font-size:11px;cursor:pointer}.display-options input{width:14px;height:14px;accent-color:var(--blue)}.template-validation{padding:13px 14px;border:1px solid #cce8dc;border-radius:8px;background:#f2fbf7}.template-validation>div:first-child{display:flex;align-items:center;gap:9px}.template-validation>div:first-child strong{font-size:13px}.template-validation p{margin:7px 0 10px;color:#5d726a;font-size:10.5px;line-height:1.5}.template-validation dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.template-validation dl div{padding:8px;border-radius:5px;background:#ffffffb8}.template-validation dt{color:var(--muted);font-size:9px}.template-validation dd{margin:3px 0 0;color:#244337;font-size:11px;font-weight:700}.setup-steps{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:11px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#8591a3;font-size:12px}.setup-steps span{display:flex;align-items:center;gap:7px}.setup-steps b{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#eef1f5;font-size:10px}.setup-steps span.active{color:#233149;font-weight:700}.setup-steps span.active b{background:var(--blue);color:#fff}.setup-steps i{color:#b3bcc9;font-style:normal}.new-forwarder-layout{display:grid;grid-template-columns:minmax(440px,.8fr) minmax(620px,1.2fr);gap:14px}.setup-card{padding:20px}.field-label{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;color:#465268;font-size:11px;font-weight:650}.field-label input{height:40px;padding:0 11px;border:1px solid #cfd7e3;border-radius:6px;outline:none;font-weight:400}.field-label input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.sample-upload{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:12px;min-height:92px;padding:14px;border:1px dashed #bfcadb;border-radius:8px;background:#fafbfd}.sample-upload.loaded{border-style:solid;border-color:#bfe3d3;background:#f5fbf8}.sample-file-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:7px;background:#e8f2ff;color:var(--blue);font-size:11px;font-weight:800}.sample-upload strong,.sample-upload p{display:block}.sample-upload p{margin:4px 0 0;color:var(--muted);font-size:10.5px;line-height:1.4}.setup-safety{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:11px 12px;border-left:3px solid var(--blue);background:#f2f7ff}.setup-safety strong{font-size:12px}.setup-safety span{color:#607089;font-size:10.5px}.recognition-preview{min-height:470px;padding:20px;background:#fafbfd}.recognition-preview.ready{background:#fff}.recognition-empty{height:100%;min-height:420px;display:grid;place-content:center;justify-items:center;color:var(--muted)}.recognition-empty strong{color:#3c485c}.recognition-empty span{margin-top:6px;font-size:11px}.recognition-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.recognition-head h2{margin:4px 0;font-size:18px}.recognition-head p{margin:0;color:var(--muted);font-size:11px}.recognition-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.recognition-stats div{padding:11px;border:1px solid var(--line);border-radius:6px;background:#fafbfd}.recognition-stats span{color:var(--muted);font-size:9px}.recognition-stats strong{display:block;margin-top:4px;font-size:17px}.recognition-list{border:1px solid var(--line);border-radius:7px;overflow:hidden}.recognition-list>strong{display:block;padding:10px 12px;background:#f8fafc;font-size:11px}.recognition-list>div{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;padding:9px 12px;border-top:1px solid #edf0f4;font-size:10.5px}.recognition-list>div b{color:#2f405b}.recognition-list>div em{color:var(--green);font-style:normal}.validation-strip{display:flex;justify-content:space-between;margin-top:12px;padding:10px 12px;border-radius:6px;background:#eef9f4;color:#3d6655;font-size:11px}.setup-footer{min-height:62px;display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:#fff}.setup-footer>span{color:var(--muted);font-size:11px}.setup-footer>div{display:flex;gap:8px}.settings-section-tabs{display:inline-flex;gap:4px;margin:2px 0 4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff}.settings-section-tabs button{min-width:132px;height:34px;padding:0 16px;border:0;border-radius:5px;background:transparent;color:#69768a;cursor:pointer;font-size:12px}.settings-section-tabs button.active{background:#edf5ff;color:var(--blue);font-weight:750}.forwarder-layout.simplified{grid-template-columns:270px minmax(0,1fr)}.simplified-workspace{overflow:visible}.carrier-summary{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);background:#fbfcfe}.carrier-summary>div{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-right:1px solid #e7ebf1}.carrier-summary>div:last-child{border-right:0}.carrier-summary span{color:var(--muted);font-size:10.5px}.carrier-summary strong{color:#243148;font-size:13px}.carrier-summary>div:first-child strong{color:var(--green)}.carrier-settings-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.65fr);gap:12px;padding:12px;background:#f7f9fc}.collection-groups{display:grid;gap:0;padding:2px 14px 8px}.collection-groups>div{display:grid;grid-template-columns:104px 1fr;align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f4}.collection-groups>div>strong{padding-top:5px;color:#3d4a60;font-size:11px}.collection-groups>div>div{display:flex;flex-wrap:wrap;gap:6px}.collection-groups span{padding:5px 9px;border-radius:5px;background:#f2f5f9;color:#3d4a60;font-size:10.5px}.collection-fees{padding:4px 0 2px}.collection-fees>div:first-child{display:flex;align-items:center;justify-content:space-between;padding:3px 14px 0}.collection-fees>div:first-child strong{color:#3d4a60;font-size:11px}.collection-fees .fee-field-cloud{padding-top:8px}.compact-side .template-validation.compact{background:#f5fbf8}.template-validation.compact p{margin-bottom:0}.advanced-mapping{margin:0 12px 12px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff}.advanced-mapping-toggle{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 14px;border:0;background:#fff;text-align:left;cursor:pointer}.advanced-mapping-toggle:hover{background:#fbfcfe}.advanced-mapping-toggle span strong,.advanced-mapping-toggle span small{display:block}.advanced-mapping-toggle span strong{color:#29364a;font-size:12px}.advanced-mapping-toggle span small{margin-top:3px;color:var(--muted);font-size:10px}.advanced-mapping-toggle em{color:var(--blue);font-size:10.5px;font-style:normal;white-space:nowrap}.advanced-mapping.open .advanced-mapping-toggle{border-bottom:1px solid var(--line)}.compact-button{min-width:88px;height:34px;padding:0 14px}.field-mapping-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:145;display:grid;place-items:center;padding:24px;background:#121b2a70;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.field-mapping-dialog{width:min(1220px,calc(100vw - 48px));height:min(820px,calc(100vh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce3ed;border-radius:10px;background:#fff;box-shadow:0 26px 72px #0f172a3d}.field-mapping-dialog>header{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-bottom:1px solid var(--line)}.field-mapping-dialog>header h2{margin:2px 0 3px;font-size:19px}.field-mapping-dialog>header p{margin:0;color:var(--muted);font-size:11px}.field-mapping-body{min-height:0;flex:1;display:grid;grid-template-rows:minmax(260px,1fr) minmax(250px,.9fr);overflow:hidden;background:#f6f8fb}.original-bill-preview,.mapping-editor{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.original-bill-preview{border-bottom:8px solid #f1f4f8}.field-mapping-section-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 18px;border-bottom:1px solid var(--line);background:#fff}.field-mapping-section-head>div{display:flex;align-items:baseline;gap:10px}.field-mapping-section-head strong{color:#263349;font-size:12px}.field-mapping-section-head span{color:var(--muted);font-size:10px}.field-mapping-section-head label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.field-mapping-section-head select{width:112px;height:30px;padding:0 8px;border:1px solid #ccd6e4;border-radius:5px;background:#fff;color:#253247}.original-bill-scroll{min-height:0;flex:1;overflow:auto;padding-bottom:8px}.original-bill-scroll table{min-width:1850px;width:max-content;border-collapse:separate;border-spacing:0;table-layout:fixed}.original-bill-scroll th,.original-bill-scroll td{width:112px;height:38px;padding:7px 9px;border-right:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;color:#334055;font-size:10px;text-align:left;white-space:nowrap}.original-bill-scroll th{position:sticky;top:0;z-index:2;height:36px;background:#f5f7fa;color:#566277;font-weight:700}.original-bill-scroll th:nth-child(2),.original-bill-scroll td:nth-child(2){width:138px}.original-bill-scroll th:nth-child(5),.original-bill-scroll td:nth-child(5){width:154px}.original-bill-scroll th:last-child,.original-bill-scroll td:last-child{width:170px}.original-bill-scroll .active-column{background:#eaf3ff;color:#155fc0;box-shadow:inset 1px 0 #86b6f2,inset -1px 0 #86b6f2}.original-bill-scroll th.active-column{background:#dcecff;color:#0e58b8;box-shadow:inset 0 2px #2777dd,inset 1px 0 #86b6f2,inset -1px 0 #86b6f2}.mapping-progress{padding:5px 9px;border-radius:999px;background:#eef8f3;color:#22704f!important;font-weight:650;white-space:nowrap}.mapping-current-relation{min-height:34px;display:flex;align-items:center;padding:7px 18px;border-bottom:1px solid #e7ebf1;background:#f7faff;color:#536176;font-size:10px}.mapping-current-relation strong{margin:0 2px;color:#155fc0;font-size:11px}.field-mapping-grid{min-height:0;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 12px;overflow:auto;padding:10px 18px 16px}.field-mapping-grid>label{min-width:0;min-height:58px;display:grid;grid-template-columns:minmax(118px,.72fr) minmax(180px,1fr);align-items:stretch;gap:12px;padding:7px 9px 7px 11px;border:1px solid #e2e7ee;border-radius:7px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.field-mapping-grid>label:hover{border-color:#b8cce7;background:#fbfdff}.field-mapping-grid>label.active{border-color:#76a9ec;background:#f5f9ff;box-shadow:0 0 0 2px #1f6fde14}.field-mapping-grid label>span{min-width:0}.field-mapping-grid .mapping-target,.field-mapping-grid .mapping-source{min-width:0;display:grid;grid-template-rows:12px 34px;align-items:center;gap:2px;padding:0;border-radius:0;font-size:inherit}.field-mapping-grid strong,.field-mapping-grid small{display:block}.field-mapping-grid strong{min-height:34px;display:flex;align-items:center;color:#263349;font-size:12px}.field-mapping-grid small{margin:0;color:#78869a;font-size:9px;line-height:12px}.field-mapping-grid select{width:100%;height:34px;padding:0 9px;border:1px solid #ccd6e4;border-radius:6px;background:#fff;color:#1f2b3d}.field-mapping-grid label.active select{border-color:#8eb7eb}.field-mapping-dialog>footer{min-height:68px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 18px;border-top:1px solid var(--line);background:#fbfcfe}.finance-mapping-title{margin-top:0}.finance-mapping-card{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.finance-mapping-summary{min-height:76px;display:grid;grid-template-columns:150px 150px 150px minmax(260px,1fr);align-items:stretch;border-bottom:1px solid var(--line);background:#fbfcfe}.finance-mapping-summary>div{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 20px;border-right:1px solid #e7ebf1}.finance-mapping-summary span{color:var(--muted);font-size:10px}.finance-mapping-summary strong{color:#233149;font-size:16px}.finance-mapping-summary .ready strong{color:var(--green)}.finance-mapping-summary .pending strong{color:var(--amber)}.finance-mapping-summary label{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 18px}.finance-mapping-summary label input{width:230px;height:36px;padding:0 10px;border:1px solid #cfd7e3;border-radius:6px;outline:none}.finance-mapping-summary label input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.mapping-intro{display:flex;align-items:baseline;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}.mapping-intro strong{color:#2e3b50;font-size:12px}.mapping-intro span{color:var(--muted);font-size:10.5px}.finance-mapping-table{width:100%;border-collapse:collapse;table-layout:fixed}.finance-mapping-table th,.finance-mapping-table td{height:54px;padding:8px 16px;border-bottom:1px solid #edf0f4;text-align:left;font-size:11px}.finance-mapping-table th{height:40px;color:var(--muted);background:#f8fafc;font-weight:650}.finance-mapping-table th:nth-child(1){width:32%}.finance-mapping-table th:nth-child(2){width:46%}.finance-mapping-table tbody tr:last-child td{border-bottom:0}.finance-mapping-table select{width:min(340px,100%);height:36px;padding:0 9px;border:1px solid #ccd6e4;border-radius:6px;background:#fff}.finance-mapping-table .mapping-source{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:10px}.finance-mapping-table .mapping-source.auto{background:#edf5ff;color:#2165b7}.finance-mapping-table .mapping-source.manual{background:#eef9f4;color:#24704e}.finance-mapping-table .mapping-source.pending{background:#fff5e9;color:#97601d}.finance-mapping-empty{display:grid;place-items:center;min-height:140px;color:var(--muted);font-size:11px}.reconcile-toolbar{position:relative;min-height:66px;display:grid;grid-template-columns:auto minmax(150px,.5fr) minmax(420px,1fr) auto;align-items:center;gap:14px;margin-bottom:12px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:8px}.reconcile-bill-meta{display:flex;align-items:center;gap:0;min-width:0}.reconcile-bill-meta>span{display:flex;flex-direction:column;gap:2px;padding:0 12px;border-right:1px solid #e7ebf1;white-space:nowrap}.reconcile-bill-meta>span:last-child{border-right:0}.reconcile-bill-meta small{color:var(--muted);font-size:10px}.reconcile-bill-meta b{color:#1c2637;font-size:12px;font-variant-numeric:tabular-nums}.reconcile-sync-center{display:flex;align-items:center;justify-content:center;min-width:0}.lingxing-sync-badge{min-width:138px;height:30px;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;padding:0 10px;border:1px solid #cad4e2;border-radius:15px;background:#f7f9fc;color:#526075;cursor:pointer;font-size:10px;font-weight:700;white-space:nowrap}.lingxing-sync-badge.success{border-color:#b8dfcf;background:#eef9f4;color:#20704c}.lingxing-sync-badge.syncing{border-color:#a9c9f4;background:#eef5ff;color:#1d63bd}.lingxing-sync-badge.warning{border-color:#efce98;background:#fff8e9;color:#936220}.lingxing-sync-badge.auth{border-color:#efb6b6;background:#fff3f2;color:#b3332f}.lingxing-sync-badge:hover,.lingxing-sync-badge[aria-expanded=true]{filter:brightness(.98);box-shadow:0 0 0 2px #2663bd12}.sync-spinner{width:11px;height:11px;border:2px solid #b7cff1;border-top-color:#1d63bd;border-radius:50%;animation:sync-spin .8s linear infinite}@keyframes sync-spin{to{transform:rotate(360deg)}}.lingxing-sync-popover{position:absolute;z-index:11;top:58px;left:50%;width:390px;padding:14px;border:1px solid #bdd4f2;border-radius:8px;background:#fff;box-shadow:0 16px 38px #192d4c2e;transform:translate(-50%)}.lingxing-sync-popover>p{margin:10px 0 0;color:#58677c;font-size:11px;line-height:1.6}.lingxing-sync-popover dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0 0}.lingxing-sync-popover dl div{padding:9px 10px;border-radius:6px;background:#f7f9fc}.lingxing-sync-popover dt{color:#748095;font-size:10px}.lingxing-sync-popover dd{margin:4px 0 0;color:#243249;font-size:12px;font-weight:700}.lingxing-sync-errors{display:grid;gap:4px;margin-top:10px;padding:9px 10px;border-radius:6px;background:#fff8e9;color:#805c24;font-size:10px;line-height:1.5}.lingxing-sync-popover .full{width:100%;margin-top:10px}.lingxing-auth-actions{margin-top:10px;padding-top:2px;border-top:1px solid #edf0f4}.lingxing-auth-actions p{margin:9px 0 0;color:#58677c;font-size:10px;line-height:1.55}.schema-guard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.schema-guard-head strong{display:block;margin-top:3px;color:#17233a;font-size:14px}.schema-guard-head button{width:26px;height:26px;border:0;border-radius:4px;background:transparent;color:#68758a;cursor:pointer;font-size:18px}.schema-guard-head button:hover{background:#f1f4f8}.compact-filters{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}.compact-filters button{min-width:82px;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;border:1px solid transparent;border-radius:5px;background:#f5f7fa;color:#657185;cursor:pointer;white-space:nowrap}.compact-filters button strong{color:#263247;font-size:12px}.compact-filters button.active{border-color:#9ec1f4;background:var(--blue-soft);color:var(--blue);font-weight:700}.reconcile-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px}.reconcile-tools .bill-attachment-button{flex:0 0 auto;width:104px;margin:0}.reconcile-tools input{width:226px;height:36px;padding:0 11px;border:1px solid #cfd7e3;border-radius:6px;outline:none}.reconcile-tools input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.reconcile-table-shell .table-scroll{height:calc(100vh - 268px);min-height:488px}.reconcile-table{min-width:1780px}.reconcile-table .group-title{display:inline-flex;align-items:center;justify-content:center;gap:8px}.reconcile-table .group-title small{padding:0;border:0;border-radius:0;background:transparent;color:#8a95a5;font-size:9px;font-weight:500;line-height:1.2}.reconcile-table .shipment-group{position:sticky;left:0;z-index:7;background:#f8fafc!important;box-shadow:8px 0 12px -13px #28384e7a}.reconcile-table .forwarder-group{background:#fafbfc!important;border-left:1px solid #d4dae3!important}.reconcile-table .erp-group{background:#f5f9ff!important;border-left:1px solid #afcbed!important;color:#2e5f96!important}.reconcile-table .erp-group .group-title small{background:transparent;color:#6888ad}.reconcile-table .audit-group{background:#fafbfc!important;border-left:1px solid #d4dae3!important}.reconcile-table thead tr:not(.group-head) th:nth-child(n+4):nth-child(-n+11),.reconcile-table tbody td:nth-child(n+4):nth-child(-n+11){background:#fff}.reconcile-table thead tr:not(.group-head) th:nth-child(n+12):nth-child(-n+15),.reconcile-table .erp-cell{background:#fbfdff}.reconcile-table thead tr:not(.group-head) th:nth-child(n+16):nth-child(-n+18),.reconcile-table tbody td:nth-child(n+16):nth-child(-n+18){background:#fff}.reconcile-table thead tr:not(.group-head) th:nth-child(4),.reconcile-table tbody td:nth-child(4){border-left:1px solid #d4dae3}.reconcile-table thead tr:not(.group-head) th:nth-child(12),.reconcile-table tbody td:nth-child(12){border-left:1px solid #afcbed}.reconcile-table thead tr:not(.group-head) th:nth-child(16),.reconcile-table tbody td:nth-child(16){border-left:1px solid #d4dae3}.reconcile-table thead tr:not(.group-head) th:nth-child(4),.reconcile-table thead tr:not(.group-head) th:nth-child(5),.reconcile-table thead tr:not(.group-head) th:nth-child(6),.reconcile-table thead tr:not(.group-head) th:nth-child(7),.reconcile-table thead tr:not(.group-head) th:nth-child(8),.reconcile-table thead tr:not(.group-head) th:nth-child(10),.reconcile-table thead tr:not(.group-head) th:nth-child(12),.reconcile-table thead tr:not(.group-head) th:nth-child(14),.reconcile-table thead tr:not(.group-head) th:nth-child(15),.reconcile-table thead tr:not(.group-head) th:nth-child(16){text-align:right}.reconcile-table thead tr:not(.group-head) th:nth-child(13),.reconcile-table thead tr:not(.group-head) th:nth-child(17),.reconcile-table thead tr:not(.group-head) th:nth-child(18),.reconcile-table tbody td:nth-child(13),.reconcile-table tbody td:nth-child(17),.reconcile-table tbody td:nth-child(18){text-align:center!important}.reconcile-table tbody tr:hover td{background:#f7faff!important}.reconcile-table tbody tr.data-row{cursor:pointer}.reconcile-table tbody tr.focused td{background:#e8f2ff!important;border-top-color:#82ade7;border-bottom-color:#82ade7}.reconcile-table tbody tr.focused td:first-child{box-shadow:inset 4px 0 0 var(--blue)}.reconcile-table tbody tr.focused:hover td{background:#e3efff!important}.reconcile-table tbody tr:focus{outline:none}.reconcile-table tbody tr:focus-visible td{box-shadow:inset 0 2px #7aa8e8,inset 0 -2px #7aa8e8}.reconcile-table tbody tr:focus-visible td:first-child{box-shadow:inset 4px 0 0 var(--blue),inset 0 2px #7aa8e8,inset 0 -2px #7aa8e8}.reconcile-table thead tr:not(.group-head) th:nth-child(1),.reconcile-table tbody td:nth-child(1){position:sticky;left:0;z-index:3}.reconcile-table thead tr:not(.group-head) th:nth-child(2),.reconcile-table tbody td:nth-child(2){position:sticky;left:160px;z-index:3}.reconcile-table thead tr:not(.group-head) th:nth-child(3),.reconcile-table tbody td:nth-child(3){position:sticky;left:258px;z-index:3;box-shadow:8px 0 12px -13px #28384e7a}.reconcile-table thead tr:not(.group-head) th:nth-child(-n+3){z-index:6;background:#f8fafc}.reconcile-table tbody td:nth-child(-n+3){background:#fff}.reconcile-list-summary{min-height:52px;display:flex;align-items:center;gap:0;padding:0 16px;border-top:1px solid #d8e1ed;background:linear-gradient(90deg,#fbfcfe,#f5f8fc);box-shadow:0 -8px 20px -22px #192c47cc}.summary-heading{flex:0 0 auto;margin-right:18px;color:#1f2b3f;font-size:12px}.reconcile-list-summary>span{min-width:96px;display:flex;align-items:baseline;gap:6px;padding:0 16px;border-left:1px solid #dfe5ee;white-space:nowrap}.reconcile-list-summary small{color:#788496;font-size:10px}.reconcile-list-summary b{color:#26334a;font-size:12px;font-variant-numeric:tabular-nums}.reconcile-list-summary .manual b{color:#1761bc}.reconcile-list-summary .pending b{color:var(--amber)}.reconcile-list-summary .summary-amount{min-width:150px;justify-content:flex-end;margin-left:auto;border-left-color:#cfd9e6}.reconcile-list-summary .summary-amount b{color:#13213a;font-size:15px}.reconcile-table td small{display:block;margin-top:3px;color:#66758a;font-size:10.5px;line-height:1.35}.reconcile-table .fba-entry>div strong{display:block;white-space:nowrap}.reconcile-table .fba-entry>div small{font-size:10.5px}.reconcile-table .fba-entry>div .corrected-fba{color:#0b6b4b;font-weight:700}.manual-source-label{color:#1761bc!important;font-weight:700}.fee-composition{display:flex;flex-wrap:wrap;gap:4px}.fee-composition>span{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;border-radius:4px;background:#f1f5fa;color:#46546a;font-size:9.5px;white-space:nowrap}.fee-composition>span b{color:#243148;font-weight:700}.fee-composition>span.zero{background:#f4f6f8;color:#6f7b8d}.fee-composition>span.zero b{color:#5f6b7d}.fee-composition>.fee-more{background:#edf5ff;color:var(--blue);font-weight:700}.remark-cell{color:#59677c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-missing{color:#7a8698;font-size:11px}.detail-button{min-width:50px;height:30px;border:1px solid #bdd4f5;border-radius:5px;background:#f5f9ff;font-weight:700}.detail-button:hover{border-color:var(--blue);background:var(--blue-soft)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;justify-content:flex-end;background:#121b2a52;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.reconcile-drawer{width:min(940px,70vw);height:100vh;background:#f7f9fc;box-shadow:-18px 0 48px #0f172a2e;overflow:hidden;animation:drawer-in .18s ease-out}@keyframes drawer-in{0%{transform:translate(24px);opacity:.7}to{transform:translate(0);opacity:1}}.modal-backdrop{align-items:center;justify-content:center;padding:28px;background:#121b2a6b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.reconcile-modal{width:min(1180px,calc(100vw - 72px));height:min(820px,calc(100vh - 56px));border:1px solid rgba(255,255,255,.72);border-radius:10px;box-shadow:0 28px 80px #0f172a47;animation:modal-in .18s ease-out}.reconcile-modal .drawer-body{height:calc(100% - 84px)}@keyframes modal-in{0%{transform:translateY(14px) scale(.985);opacity:.72}to{transform:translateY(0) scale(1);opacity:1}}.drawer-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:13px 20px;background:#fff;border-bottom:1px solid var(--line)}.drawer-header h2{margin:3px 0 2px;font-size:20px}.drawer-header p{margin:0;color:var(--muted);font-size:12px}.drawer-head-actions{display:flex;align-items:center;gap:14px}.drawer-close{width:40px;height:40px;border:1px solid #d5dde8;border-radius:6px;background:#fff;color:#566276;font-size:22px;line-height:1;cursor:pointer}.drawer-body{height:calc(100vh - 84px);overflow:auto;overscroll-behavior:contain;padding:14px 16px 22px}.drawer-verdict{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px;padding:12px 14px;border-left:3px solid var(--blue);background:#eef5ff}.drawer-verdict.blocked{border-left-color:var(--red);background:var(--red-soft)}.drawer-verdict>div>span{color:var(--muted);font-size:10px}.drawer-verdict>div>strong{display:block;margin-top:2px;color:#1a2638;font-size:16px}.drawer-verdict p{margin:4px 0 0;color:#667286;font-size:11px;line-height:1.45}.drawer-verdict dl{display:flex;align-items:center;gap:0;margin:0;flex:0 0 auto}.drawer-verdict dl div{min-width:92px;padding:0 14px;border-left:1px solid rgba(123,143,172,.24)}.drawer-verdict dt{color:var(--muted);font-size:10px}.drawer-verdict dd{margin:3px 0 0;color:#1e293b;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}.drawer-section{margin-bottom:14px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:8px}.drawer-primary{margin-bottom:12px}.drawer-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.drawer-section-title h3{margin:0;font-size:15px}.drawer-section-title p{margin:4px 0 0;color:var(--muted);font-size:11px}.manual-entry-panel{border-color:#b9d1f2;background:#f8fbff}.manual-entry-panel.saved{border-color:#a9d9c7;background:#fbfffd}.manual-entry-grid{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(150px,.75fr) minmax(190px,1fr) auto;align-items:end;gap:10px}.manual-entry-grid label{min-width:0;display:flex;flex-direction:column;gap:6px;color:#40506a;font-size:10.5px;font-weight:700}.manual-entry-grid label>span{display:flex;align-items:center;gap:5px}.manual-entry-grid label>span b{color:var(--blue);font-size:9px}.manual-entry-grid label>span small{color:#8792a3;font-size:9px;font-weight:500}.manual-entry-grid input{width:100%;height:38px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172235;outline:none}.manual-entry-grid input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.manual-input-unit{position:relative}.manual-input-unit input{padding-right:34px}.manual-input-unit em{position:absolute;top:50%;right:10px;color:#8792a3;font-size:9px;font-style:normal;transform:translateY(-50%)}.manual-entry-grid .primary-button{height:38px;min-width:138px;padding-inline:14px;white-space:nowrap}.manual-entry-feedback{margin-top:10px;padding:9px 11px;border-radius:6px;background:#f2f5f9;color:#536176;font-size:10.5px}.manual-entry-feedback.success{background:#eaf8f2;color:#19704f}.manual-entry-feedback.error{background:#fff0ef;color:#9a3434}.shipment-correction-panel{border-color:#f1c6a0;background:#fffdf9}.shipment-correction-panel.matched{border-color:#a9d9c7;background:#fbfffd}.correction-optional{padding:0;overflow:hidden}.correction-optional>summary{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;cursor:pointer;list-style:none}.correction-optional>summary::-webkit-details-marker{display:none}.correction-optional>summary:hover{background:#ffffff80}.correction-optional>summary strong,.correction-optional>summary small{display:block}.correction-optional>summary strong{color:#354155;font-size:12px}.correction-optional>summary small{margin-top:3px;color:#7a8698;font-size:9.5px}.correction-optional>summary em{color:#9a6725;font-size:10px;font-style:normal;white-space:nowrap}.correction-optional-body{padding:0 14px 14px;border-top:1px solid rgba(224,191,151,.45)}.correction-optional-body .correction-identifiers{margin-top:12px}.correction-identifiers{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:12px;padding:11px 12px;border:1px solid #e0e6ee;border-radius:7px;background:#fff}.correction-identifiers>span{min-width:0}.correction-identifiers small{display:block;color:var(--muted);font-size:9.5px}.correction-identifiers strong{display:block;margin-top:4px;overflow:hidden;color:#233047;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.correction-identifiers>b{color:#8a96a7;text-align:center}.correction-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.correction-form label{display:flex;flex-direction:column;gap:6px;color:#46546a;font-size:10.5px;font-weight:700}.correction-form input{width:100%;height:38px;padding:0 11px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#172235;font:inherit;font-weight:650;letter-spacing:.2px;outline:none;text-transform:uppercase}.correction-form input:focus{border-color:#75a8ee;box-shadow:0 0 0 3px #1769e817}.correction-form .primary-button{height:38px;white-space:nowrap}.correction-feedback{margin-top:10px;padding:9px 11px;border-radius:6px;background:#f2f5f9;color:#536176;font-size:10.5px}.correction-feedback.success{background:#eaf8f2;color:#19704f}.correction-feedback.error{background:#fff0ef;color:#9a3434}.correction-history{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #e7ebf1}.correction-history>strong{color:#3e4b60;font-size:10.5px}.correction-history>span{display:grid;grid-template-columns:minmax(120px,1fr) 18px minmax(120px,1fr) auto;align-items:center;gap:6px;color:#48566c;font-size:10px}.correction-history em{color:#8a96a7;font-style:normal;text-align:center}.correction-history small{color:var(--muted);white-space:nowrap}.correction-storage-note{margin:10px 0 0;color:#7a8698;font-size:9.5px;line-height:1.5}.basis-pill{padding:5px 8px;border-radius:5px;background:#f2f5f9;color:#445066;font-size:11px;white-space:nowrap}.compare-table{width:100%;border-collapse:collapse;table-layout:fixed}.compare-table th,.compare-table td{padding:10px 12px;border:1px solid #e1e7ef;text-align:left;font-size:12px}.compare-table th{background:#f8fafc;color:#546075}.compare-table th:nth-child(3),.compare-table td:nth-child(3){background:#f5f9ff}.fee-detail-table th:nth-child(1){width:22%}.fee-detail-table th:nth-child(2){width:34%}.fee-detail-table th:nth-child(3){width:19%}.history-table th:nth-child(1){width:12%}.history-table th:nth-child(2){width:19%}.history-table th:nth-child(3){width:12%}.history-table th:nth-child(4){width:12%}.history-table th:nth-child(6){width:14%}.history-table td{vertical-align:middle}.history-table small{display:block;margin-top:4px;color:var(--muted)}.history-bill-action{min-height:30px;padding:0 10px;border:1px solid #bcd1ee;border-radius:5px;background:#f4f8ff;color:#1761bc;cursor:pointer;font-size:10.5px;white-space:nowrap}.history-bill-action:hover{border-color:#7ba9e6;background:#eaf3ff}.history-bill-missing{color:#9aa4b2;font-size:10.5px;white-space:nowrap}.fba-export-note{display:block;margin:7px 0 2px;color:#6d7a8d;font-size:10px}.fee-section{margin-bottom:12px}.fee-empty{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 12px;border-radius:6px;background:#f7f9fc}.fee-empty strong{color:#354155;font-size:12px}.fee-empty span{color:var(--muted);font-size:11px}.drawer-disclosures{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:8px}.drawer-disclosure+.drawer-disclosure{border-top:1px solid var(--line)}.drawer-disclosure summary{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;cursor:pointer;list-style:none}.drawer-disclosure summary::-webkit-details-marker{display:none}.drawer-disclosure summary:hover{background:#fbfcfe}.drawer-disclosure summary span:first-child strong,.drawer-disclosure summary span:first-child small{display:block}.drawer-disclosure summary span:first-child strong{font-size:13px}.drawer-disclosure summary span:first-child small{margin-top:3px;color:var(--muted);font-size:10px}.disclosure-meta{display:flex;align-items:center;gap:10px}.disclosure-meta b{color:#334055;font-size:11px}.disclosure-meta em{min-width:42px;color:var(--blue);font-size:11px;font-style:normal;text-align:right}.drawer-disclosure[open] .disclosure-meta em{color:var(--muted)}.disclosure-meta .when-open,.drawer-disclosure[open] .disclosure-meta .when-closed{display:none}.drawer-disclosure[open] .disclosure-meta .when-open{display:inline}.disclosure-content{padding:0 14px 14px}@media(max-width:1440px){.app-header{grid-template-columns:220px 1fr 220px}.content{padding-inline:12px}.bill-summary{grid-template-columns:120px 112px 1fr}.bill-summary dl div{padding-inline:14px}.book-layout{grid-template-columns:1fr}.export-panel{position:static}.home-hero{grid-template-columns:1fr}.forwarder-layout{grid-template-columns:220px minmax(0,1fr)}.template-content-grid,.carrier-settings-grid{grid-template-columns:1fr}.finance-mapping-summary{grid-template-columns:repeat(3,1fr)}.finance-mapping-summary label{grid-column:1 / -1;min-height:58px;justify-content:flex-start;border-top:1px solid #e7ebf1}.new-forwarder-layout{grid-template-columns:1fr}.reconcile-drawer{width:86vw}.reconcile-modal{width:calc(100vw - 40px);height:calc(100vh - 40px)}.reconcile-toolbar{grid-template-columns:minmax(0,1fr) auto auto}.reconcile-bill-meta{grid-column:1 / 3}.reconcile-sync-center{grid-column:3;grid-row:1}.compact-filters{justify-content:flex-start}.reconcile-table-shell .table-scroll{height:calc(100vh - 316px);min-height:436px}.reconcile-list-summary>span{min-width:82px;padding-inline:10px}.manual-entry-grid{grid-template-columns:1fr 1fr}.ledger-overview{grid-template-columns:1fr}.ledger-overview-copy{padding:20px 24px}.ledger-kpis{min-height:104px}.ledger-table th,.ledger-table td,.bill-ledger-table th,.bill-ledger-table td{padding-inline:8px}}@media(max-width:1540px){.reconcile-toolbar{gap:10px}.reconcile-bill-meta>span{padding-inline:8px}.bill-date{display:none!important}.compact-filters button{min-width:70px;padding-inline:7px}.reconcile-tools input{width:190px}}

/* 2026-08-06 ledger center: compact overview + sticky controls/header */
.ledger-overview{gap:10px;margin-bottom:10px}
.ledger-overview-copy{padding:12px 20px}
.ledger-overview-copy h1{margin:2px 0 3px;font-size:22px;line-height:1.2}
.ledger-overview-copy p{font-size:11px;line-height:1.45}
.ledger-kpis{min-height:0;padding:8px 6px}
.ledger-kpis>div{gap:4px;padding:0 16px}
.ledger-kpis span{font-size:10px}
.ledger-kpis strong{font-size:17px}
.ledger-workspace{overflow:visible}
.ledger-toolbar{position:sticky;top:64px;z-index:24;background:#fff;border-radius:9px 9px 0 0;box-shadow:0 1px 0 #e2e7ee}
.ledger-table-scroll{overflow:visible}
.ledger-table thead th,.bill-ledger-table thead th{position:sticky;top:130px;z-index:23;background:#f4f7fb;box-shadow:inset 0 -1px #d9e1eb}
@media(max-width:1200px){
  .ledger-table-scroll{overflow-x:auto}
  .ledger-table thead th,.bill-ledger-table thead th{position:static}
}

/* 2026-08-06: center important feedback */
.toast{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);z-index:80;max-width:min(560px,calc(100vw - 40px));padding:16px 20px;border-radius:9px;font-size:14px;box-shadow:0 22px 60px #0f172a55}
.recent-empty-row td{height:92px;text-align:center;color:#7a8798;background:#fbfcfe}
