body.performance-orders-compact .main{overflow:hidden}
body.performance-orders-compact .topbar{height:76px;padding:0 28px}
body.performance-orders-compact .content{height:calc(100vh - 76px);max-width:none;padding:14px 22px 18px;overflow:hidden}
.performance-orders-panel{height:100%;margin:0;padding:15px 18px 16px;display:flex;flex-direction:column;overflow:hidden}
.performance-orders-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}
.performance-orders-head h3{font-size:20px;margin:0 0 4px}
.performance-orders-head p{font-size:12px;color:var(--muted);margin:0}
.performance-orders-toolbar{display:grid;grid-template-columns:minmax(135px,1fr) minmax(145px,1fr) minmax(145px,1fr) minmax(135px,1fr) minmax(145px,1fr) auto;gap:10px;align-items:end;padding:10px 12px;background:#f7faf8;border:1px solid var(--line);border-radius:12px}
.performance-orders-toolbar label{display:flex;flex-direction:column;gap:4px;min-width:0}
.performance-orders-toolbar label>span{font-size:11px;color:var(--muted);font-weight:700}
.performance-orders-toolbar select{height:34px;width:100%;border:1px solid #dbe6e0;border-radius:8px;background:#fff;padding:0 10px;color:var(--ink);outline:none}
.performance-order-self{height:34px;align-self:end;display:flex;align-items:center;padding:0 12px;border-radius:8px;background:var(--green-soft);color:var(--green-dark);font-size:12px;font-weight:800}
.performance-order-reset{height:34px;align-self:end}
.performance-orders-summary{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;margin:10px 0}
.performance-orders-summary>span{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:9px 13px;border:1px solid #dcebe3;border-radius:11px;background:#fbfdfc;color:var(--muted);font-size:12px}
.performance-orders-summary b{grid-row:1/3;grid-column:2;justify-self:end;color:#087a55;font-size:21px;font-variant-numeric:tabular-nums}
.performance-orders-summary small{font-size:10px;color:#91a098}
.performance-orders-table-wrap{flex:1;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:12px}
.performance-orders-table{min-width:1450px;font-size:12px}
.performance-orders-table th{position:sticky;top:0;z-index:3;padding:10px 9px;text-align:center;background:#edf6f1;color:#52655c}
.performance-orders-table td{padding:9px;text-align:center;vertical-align:middle}
.performance-orders-table tbody tr:hover td{background:#edf8f2}
.performance-orders-table .performance-detail-complete td{background:#f0faf4}
.performance-orders-table .performance-detail-complete:hover td{background:#e5f6ed}
.performance-order-person{color:#183d30}
.performance-order-business{display:flex;flex-direction:column;align-items:center;gap:4px}
.performance-order-business small{color:var(--muted)}
.performance-orders-grouped-table{min-width:900px}
.performance-orders-grouped-table th,.performance-orders-grouped-table td{padding:13px 16px}
.performance-orders-grouped-table th:first-child{text-align:center}
.performance-orders-grouped-table .performance-order-group-person{justify-content:center}
.performance-orders-grouped-table td.performance-detail-number{text-align:center!important}
.performance-order-group-row{cursor:pointer;outline:none}
.performance-order-group-row:hover td,.performance-order-group-row:focus td{background:#edf8f2!important}
.performance-order-group-row:focus-visible{box-shadow:inset 0 0 0 2px #0c8a61}
.performance-order-group-person{display:flex;align-items:center;gap:12px;text-align:left}
.performance-order-group-person>div{display:flex;flex-direction:column;gap:3px}
.performance-order-group-person small{color:var(--muted);font-size:10px}
.performance-order-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:50%;background:#e0f1e8;color:#087a55;font-size:14px;font-weight:900}
.performance-order-count{font-size:18px;color:#183d30}
.performance-order-category-summary{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#52655c}
.performance-order-open{border:0;background:transparent;color:#087a55;font-weight:800;cursor:pointer;padding:7px 10px;border-radius:8px}
.performance-order-open:hover{background:#dff2e8}
.performance-order-open span{font-size:18px;vertical-align:-1px;margin-left:3px}
.performance-orders-inline-mode{overflow:auto}
.performance-orders-inline-detail{flex:0 0 auto;margin-top:2px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.performance-orders-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);background:#f7faf8}
.performance-orders-inline-heading b{color:#173f31;font-size:17px}
.performance-orders-inline-heading span{color:var(--muted);font-size:11px;font-weight:700}
.performance-orders-inline-detail .performance-detail-dialog{width:100%;max-height:none;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.performance-orders-inline-detail .performance-detail-table-wrap{max-height:none;overflow-x:auto;overflow-y:visible}
.performance-orders-inline-detail .performance-detail-foot{justify-content:flex-start;background:#fbfdfc}
.performance-orders-inline-detail .dialog-close,.performance-orders-inline-detail .dialog-close-button{display:none!important}
.performance-detail-code.new-house-project-code{align-items:center;text-align:center}
.new-house-project-code span{color:#174b3a;font-weight:900}
.newhouse-order-summary-table{min-width:760px}
.newhouse-order-summary-table th,.newhouse-order-summary-table td{padding:14px 16px}
.newhouse-summary-project{color:#174b3a;font-size:14px}
.newhouse-summary-address{white-space:normal!important;min-width:330px;max-width:560px;text-align:center!important;line-height:1.5}
.newhouse-order-summary-table td.performance-detail-number{text-align:center!important}
.newhouse-order-total-row td{background:#eaf8f2;color:#076849;font-weight:900;border-top:2px solid #b9dccb}
.unsettled-priority-table th:first-child,.unsettled-priority-table td:first-child{text-align:left!important;width:26%!important}
.unsettled-priority-table th:nth-child(2),.unsettled-priority-table td:nth-child(2){width:8%!important;text-align:left!important}
.unsettled-priority-table th:nth-child(3),.unsettled-priority-table td:nth-child(3){width:9%!important}
.unsettled-priority-table th:nth-child(4),.unsettled-priority-table td:nth-child(4){width:12%!important}
.unsettled-priority-table th:nth-child(5),.unsettled-priority-table td:nth-child(5){width:9%!important}
.unsettled-priority-table th:nth-child(6),.unsettled-priority-table td:nth-child(6){width:15%!important;text-align:center!important;font-weight:900}
.unsettled-priority-table th:nth-child(7),.unsettled-priority-table td:nth-child(7){width:21%!important;text-align:center!important;font-weight:900}
.unsettled-priority-table th:nth-child(6),.unsettled-priority-table th:nth-child(7){background:#e6f6ee;color:#076849}
/* 未结件明细固定八列，表头与每行严格使用同一列定义。 */
.unsettled-priority-table{width:100%;min-width:980px;table-layout:fixed}
.unsettled-priority-table th,.unsettled-priority-table td{box-sizing:border-box;vertical-align:middle}
.unsettled-priority-table th:nth-child(1),.unsettled-priority-table td:nth-child(1){width:27%!important;text-align:left!important}
.unsettled-priority-table th:nth-child(2),.unsettled-priority-table td:nth-child(2){width:10%!important;text-align:left!important}
.unsettled-priority-table th:nth-child(3),.unsettled-priority-table td:nth-child(3){width:10%!important;text-align:center!important}
.unsettled-priority-table th:nth-child(4),.unsettled-priority-table td:nth-child(4){width:14%!important;text-align:center!important}
.unsettled-priority-table th:nth-child(5),.unsettled-priority-table td:nth-child(5){width:11%!important;text-align:right!important}
.unsettled-priority-table th:nth-child(6),.unsettled-priority-table td:nth-child(6){width:9%!important;text-align:center!important;font-weight:900}
.unsettled-priority-table th:nth-child(7),.unsettled-priority-table td:nth-child(7){width:10%!important;text-align:center!important;font-weight:900}
.unsettled-priority-table th:nth-child(8),.unsettled-priority-table td:nth-child(8){width:9%!important;text-align:center!important}
.unsettled-priority-table th:nth-child(6),.unsettled-priority-table th:nth-child(7){background:#e6f6ee;color:#076849}
@media(max-width:1350px){.performance-orders-toolbar{grid-template-columns:repeat(5,minmax(125px,1fr)) auto}.performance-orders-summary b{font-size:18px}}

/* 二手订单工资结算识别：合同结件、分盘、低于20%合作均整行绿色 */
.performance-detail-table .performance-detail-complete td{background:#dff5e8;color:#17603f}
.performance-detail-table .performance-detail-complete td:first-child{box-shadow:inset 4px 0 0 #16a05d}
.performance-detail-table .performance-detail-complete:hover td{background:#d2efdf}
.performance-detail-status.settled{display:inline-flex;padding:5px 10px;border-radius:999px;background:#159455;color:#fff;font-weight:900}
.performance-settled-mark{display:block;margin-top:4px;color:#087a55;font-size:10px;font-weight:800}

/* 只有二手业务使用结件颜色；租赁和其他业务悬停时保持白色 */
.performance-detail-table tbody tr:not(.performance-detail-complete):not(.performance-detail-pending):hover td{background:#fff}
.performance-detail-table .performance-detail-pending td{background:#fff2dc;color:#76511b}
.performance-detail-table .performance-detail-pending td:first-child{box-shadow:inset 4px 0 0 #e79a22}
.performance-detail-table .performance-detail-pending:hover td{background:#ffe8c4}
.performance-detail-status.pending{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e3911b;color:#fff;font-weight:900}
.performance-pending-mark{display:block;margin-top:4px;color:#ad6810;font-size:10px;font-weight:800}
.performance-settlement-legend{display:flex;align-items:center;justify-content:flex-start;gap:18px;flex-wrap:wrap;margin:0 22px 12px;padding:9px 12px;border:1px solid #dce6e1;border-radius:10px;background:#fbfcfb;color:#58665f;font-size:11px;line-height:18px}
.performance-settlement-legend>b{color:#263d33}
.performance-settlement-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.performance-settlement-legend i{display:inline-flex;flex:0 0 12px;width:12px;height:12px;border-radius:3px;border:1px solid #d2ddd7}
.performance-settlement-legend .legend-settled i{background:#37ad72;border-color:#26945d}
.performance-settlement-legend .legend-pending i{background:#f0a63a;border-color:#d98c1e}
.performance-settlement-legend .legend-other i{background:#fff}

/* 彩色小标补充说明具体结算原因 */
.performance-monthly-settlement{display:block;width:max-content;max-width:150px;margin:5px auto 0;padding:4px 7px;border-radius:6px;background:#e6f1ff;color:#1766a8;font-size:10px;font-weight:900;line-height:1.3}
.performance-monthly-settlement.split-listing{background:#e8f0ff;color:#315fa8}
.performance-monthly-settlement.low-partner{background:#eee9ff;color:#654bb2}
.performance-monthly-settlement.contract-settled{background:#d7f0e2;color:#087a55}
.performance-settlement-legend .legend-pay i{display:grid;place-items:center;background:#4b86c6;border-color:#3973b2;color:#fff;font-style:normal;font-size:9px;font-weight:900}

/* 订单明细按固定列宽展示，表头、数值和多行内容保持同一中心线 */
.performance-detail-dialog .performance-detail-table{width:100%;min-width:1380px;table-layout:fixed}
.performance-detail-dialog .performance-detail-table th,
.performance-detail-dialog .performance-detail-table td{box-sizing:border-box;text-align:center;vertical-align:middle}
.performance-detail-dialog .performance-detail-table th:nth-child(1),.performance-detail-dialog .performance-detail-table td:nth-child(1){width:6%}
.performance-detail-dialog .performance-detail-table th:nth-child(2),.performance-detail-dialog .performance-detail-table td:nth-child(2){width:7%}
.performance-detail-dialog .performance-detail-table th:nth-child(3),.performance-detail-dialog .performance-detail-table td:nth-child(3){width:12%}
.performance-detail-dialog .performance-detail-table th:nth-child(4),.performance-detail-dialog .performance-detail-table td:nth-child(4){width:11%}
.performance-detail-dialog .performance-detail-table th:nth-child(5),.performance-detail-dialog .performance-detail-table td:nth-child(5){width:14%}
.performance-detail-dialog .performance-detail-table th:nth-child(6),.performance-detail-dialog .performance-detail-table td:nth-child(6){width:18%}
.performance-detail-dialog .performance-detail-table th:nth-child(7),.performance-detail-dialog .performance-detail-table td:nth-child(7),
.performance-detail-dialog .performance-detail-table th:nth-child(8),.performance-detail-dialog .performance-detail-table td:nth-child(8){width:7%}
.performance-detail-dialog .performance-detail-table th:nth-child(9),.performance-detail-dialog .performance-detail-table td:nth-child(9){width:8%}
.performance-detail-dialog .performance-detail-table th:nth-child(10),.performance-detail-dialog .performance-detail-table td:nth-child(10){width:10%}
.performance-detail-dialog .performance-detail-code{align-items:center;text-align:center}
.performance-detail-dialog .performance-detail-address{min-width:0;max-width:none;text-align:center!important;overflow-wrap:anywhere}
.performance-detail-dialog .performance-detail-number{text-align:center!important}
.performance-detail-dialog .performance-detail-roles{min-width:0;align-items:center;text-align:center}
.unsettled-hidden-note{display:inline-block;margin-left:12px;padding:3px 8px;border-radius:999px;background:#fff1d8;color:#9a6614;font-weight:800}

/* 未结件台账清晰版：保持16:9单屏，明细区域内部滚动 */
.unsettled-compact .unsettled-table-wrap{overflow:auto}
.unsettled-compact .unsettled-simple-table{width:100%!important;min-width:0!important;table-layout:fixed}
.unsettled-compact .unsettled-simple-table th{height:46px;padding:10px 9px;font-size:13px;line-height:1.35}
.unsettled-compact .unsettled-simple-table td{height:56px;padding:9px;font-size:13px;line-height:1.45}
.unsettled-compact .unsettled-simple-table th:first-child,
.unsettled-compact .unsettled-simple-table td:first-child{width:30%!important;min-width:0!important;max-width:none!important}
.unsettled-compact .unsettled-simple-table th:nth-child(2),
.unsettled-compact .unsettled-simple-table td:nth-child(2){width:7%!important}
.unsettled-compact .unsettled-simple-table th:nth-child(3),
.unsettled-compact .unsettled-simple-table td:nth-child(3){width:13%!important}
.unsettled-compact .unsettled-simple-table th:nth-child(4),
.unsettled-compact .unsettled-simple-table td:nth-child(4){width:11%!important}
.unsettled-compact .unsettled-simple-table th:nth-child(5),
.unsettled-compact .unsettled-simple-table td:nth-child(5){width:8%!important}
.unsettled-compact .unsettled-simple-table th:nth-child(6),
.unsettled-compact .unsettled-simple-table td:nth-child(6){width:11%!important}
.unsettled-compact .unsettled-simple-table th:nth-child(7),
.unsettled-compact .unsettled-simple-table td:nth-child(7){width:20%!important}
.unsettled-compact .unsettled-simple-table .case-address{font-size:14px;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip}
.unsettled-compact .unsettled-simple-table .case-address span{display:block;overflow:visible;white-space:normal;text-overflow:clip;word-break:break-all;overflow-wrap:anywhere;-webkit-line-clamp:unset}
.unsettled-compact .unsettled-simple-table .case-address small{font-size:10px;line-height:1.35;white-space:normal}
.unsettled-compact .unsettled-broker-name,
.unsettled-compact .unsettled-performance-value{font-size:14px;font-weight:900}
.unsettled-compact .unsettled-month-value,
.unsettled-compact .deal-signed-at{font-size:12px;line-height:1.45}
.unsettled-compact .case-status{font-size:12px;white-space:nowrap}
.unsettled-compact .contract-status-note{margin-top:5px;font-size:10px;line-height:1.35}
.unsettled-compact .unsettled-simple-table td:last-child .table-action{height:30px;padding:0 8px;font-size:10px}

/* 未结件结件材料与审核流程 */
.unsettled-review-count{display:inline-block;margin-left:12px;padding:4px 9px;border-radius:999px;background:#fff0cf;color:#9a6507;font-weight:900}
.settlement-awaiting-review td{background:#fffaf0!important}
.settlement-awaiting-review td:first-child{box-shadow:inset 4px 0 0 #e6a42d}
.settlement-review,.settlement-source,.settlement-month-mark{display:block;margin-top:5px;font-size:10px;font-weight:900;line-height:1.35}
.settlement-review.dual-approved{color:#087a55}
.pending-review{color:#a56700}.rejected-review{color:#b0443c}.no-review{color:#819087}.settlement-source{color:#168057}
.settlement-month-mark{color:#315fa8}
.unsettled-actions{white-space:normal!important;line-height:1.25!important}
.unsettled-actions .table-action{margin:2px!important}
.evidence-submit-action{border-color:#5c8fca!important;background:#eef6ff!important;color:#27639f!important}
.evidence-review-action{border-color:#d59b27!important;background:#fff8e7!important;color:#8e6108!important}
.adjustment-note-dialog.settlement-evidence-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 48px));max-height:90vh;overflow-x:hidden;overflow-y:auto}
.adjustment-note-dialog.settlement-evidence-upload-dialog{width:min(1040px,calc(100vw - 48px));max-height:none;padding:18px 20px 16px;overflow:visible}
.settlement-evidence-upload-dialog .adjustment-note-title{align-items:center}
.settlement-evidence-upload-dialog .adjustment-note-title p{margin-top:4px}
.settlement-evidence-upload-dialog .settlement-evidence-tip{margin-top:10px;padding:8px 12px;line-height:1.5}
.settlement-evidence-upload-dialog .settlement-document-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-top:10px}
.settlement-evidence-upload-dialog .settlement-agreement-upload-group{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px}
.settlement-evidence-upload-dialog .settlement-agreement-upload-title{grid-column:1/-1;padding-bottom:0}
.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-document-upload{padding:10px 11px}
.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-legacy-agreement{grid-column:1/-1}
.settlement-evidence-upload-dialog .settlement-document-upload-head{align-items:flex-start}
.settlement-evidence-upload-dialog .settlement-document{padding:10px 12px;border-radius:10px}
.settlement-evidence-upload-dialog .settlement-agreement-reminder{white-space:normal}
.settlement-evidence-upload-dialog .settlement-submit-bar{position:static;margin:9px 0 0;padding:9px 0 0}
.settlement-evidence-upload-dialog .settlement-submit-bar .adjustment-note-actions{margin-top:0}
.settlement-evidence-tip{margin-top:16px;padding:11px 13px;border-radius:10px;background:#eef7ff;color:#36627e;font-size:12px;line-height:1.6}
.settlement-document-list{display:grid;gap:10px;margin-top:16px}
.settlement-document{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #dfe8e3;border-radius:12px;background:#fbfdfc}
.settlement-document.uploaded{border-color:#b9dec9;background:#f2fbf6}
.settlement-document.missing{border-color:#ead7b3;background:#fffaf0}
.settlement-document>.settlement-document-copy{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:4px}
.settlement-document b{color:#21483a;font-size:14px}.settlement-document small{overflow:hidden;color:#7d8b84;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.settlement-document>span{color:#aa6e13;font-size:12px;font-weight:800}
.settlement-document-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.settlement-document-actions>span{color:#aa6e13;font-size:12px;font-weight:800}.settlement-file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 10px;border:1px solid #4d8dc8;border-radius:8px;background:#eef6ff;color:#28669f;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.settlement-file-button.replace{border-color:#9aabb8;background:#f6f8f9;color:#566b78}.settlement-file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.settlement-document-view{min-width:54px}.settlement-document.multi-document{align-items:flex-start}.settlement-document.multi-document .settlement-document-actions{max-width:330px}
.settlement-document-upload{display:block;width:100%;min-width:0;max-width:100%;padding:12px 14px}.settlement-document-upload-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.settlement-document-upload-head .settlement-document-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.settlement-document-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.settlement-document-preview{display:grid;min-width:0;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px;border:1px solid #d7e5dd;border-radius:8px;background:#fff}.settlement-document-preview-open{display:grid;width:48px;height:48px;padding:0;overflow:hidden;place-items:center;border:1px solid #c9d8d0;border-radius:6px;background:#eef5f1;cursor:pointer}.settlement-document-preview-open img{width:100%;height:100%;object-fit:cover}.settlement-document-pdf{display:grid;width:100%;height:100%;place-items:center;background:#f1f4f6;color:#506773;font-size:11px;font-weight:900}.settlement-document-preview-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.settlement-document-preview-copy b{overflow:hidden;color:#27463a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.settlement-document-preview-copy small{color:#75877e;font-size:10px}.settlement-document-remove{height:28px;padding:0 8px;border:1px solid #e1a9a4;border-radius:7px;background:#fff5f4;color:#b0443c;font-size:10px;font-weight:900;cursor:pointer}.settlement-document-remove:hover{border-color:#c7645c;background:#fde9e7}
.settlement-agreement-reminder{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:5px;background:#fff0cf;color:#8a5a06;font-size:11px;font-weight:900;line-height:1.35}
.settlement-agreement-upload-group{display:grid;gap:8px;padding:10px;border:1px solid #c7ddcf;border-radius:11px;background:#f5fbf7}.settlement-agreement-upload-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 2px}.settlement-agreement-upload-title>b{color:#21483a;font-size:14px}.settlement-agreement-upload-title>span{color:#8a5a06;font-size:11px;font-weight:900}.settlement-agreement-upload-group .settlement-document-upload{background:#fff}.settlement-legacy-agreement{border-style:dashed!important;background:#f7faf8!important}
.settlement-submit-bar{position:sticky;bottom:-1px;z-index:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;margin:14px -2px -2px;padding:11px 2px 2px;border-top:1px solid #dce7e1;background:#fff}.settlement-submit-bar .adjustment-note-actions{flex:0 0 auto;margin:0 0 0 auto}.settlement-submit-bar .evidence-submit{min-width:104px}.settlement-evidence-error{width:100%;margin:0;padding:7px 10px;border:1px solid #e4aaa4;border-radius:7px;background:#fff3f2;color:#a43d36;font-size:11px;font-weight:900;line-height:1.4}
.settlement-document-review{display:block;width:100%;min-width:0;max-width:100%}.settlement-review-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;min-width:0;margin-top:10px}.settlement-review-preview{display:flex;width:100%;min-width:0;max-width:100%;height:118px;padding:0;overflow:hidden;position:relative;align-items:center;justify-content:center;border:1px solid #c9ddd2;border-radius:8px;background:#fff;cursor:zoom-in}.settlement-review-preview img{display:block;width:100%;height:100%;object-fit:cover}.settlement-review-preview>span:last-child{position:absolute;right:5px;bottom:5px;left:5px;max-width:calc(100% - 10px);padding:4px 6px;overflow:hidden;border-radius:5px;background:rgba(24,32,29,.8);color:#fff;font-size:9px;font-weight:900;text-align:left;text-overflow:ellipsis;white-space:nowrap}.settlement-review-preview .settlement-document-pdf{height:100%}.settlement-review-optional{display:inline-block;margin-top:7px;color:#aa6e13;font-size:12px;font-weight:800}
.settlement-review-address-page{border-width:2px;border-color:#e0b958;background:#fffaf0}.settlement-review-compare-tip{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:5px;background:#fff0cf;color:#825506;font-size:11px;font-weight:900}
.settlement-address-ocr{display:flex;min-width:0;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 10px;border:1px solid #ccdbe5;border-radius:8px;background:#f4f8fb;color:#35596f;font-size:11px;font-weight:800;line-height:1.45}.settlement-address-ocr b{flex:0 0 auto;font-size:11px;white-space:nowrap}.settlement-address-ocr span{min-width:0}.settlement-address-ocr.checking{border-color:#9fc6df;background:#eef7fd;color:#245d80}.settlement-address-ocr.matched{border-color:#8fceb0;background:#edf9f3;color:#176745}.settlement-address-ocr.mismatch,.settlement-address-ocr.unreadable{border-color:#e0a29c;background:#fff2f1;color:#9b3731}.settlement-review-compare-tip.matched{border-color:#9bcdb2;background:#eaf8f0;color:#176745}
@media(max-width:620px){.settlement-document{align-items:stretch;flex-direction:column}.settlement-document-actions{justify-content:flex-start}.settlement-document.multi-document .settlement-document-actions{max-width:none}}
@media(max-width:620px){.settlement-document-upload-head{align-items:flex-start}.settlement-document-previews{grid-template-columns:1fr}.settlement-document-preview{grid-template-columns:44px minmax(0,1fr) auto}.settlement-document-preview-open{width:44px;height:44px}.settlement-submit-bar{align-items:stretch;flex-direction:column}.settlement-submit-bar .adjustment-note-actions{display:grid;width:100%;grid-template-columns:1fr}.settlement-submit-bar .adjustment-note-actions button{width:100%}.settlement-review-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-review-preview{height:106px}}
@media(max-width:620px){.settlement-address-ocr{flex-direction:column;gap:3px}.settlement-address-ocr b{white-space:normal}}
@media(max-width:860px){.adjustment-note-dialog.settlement-evidence-dialog{width:calc(100vw - 24px)}.adjustment-note-dialog.settlement-evidence-upload-dialog{max-height:none;padding:14px;overflow:visible}.settlement-evidence-upload-dialog .settlement-document-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px}.settlement-evidence-upload-dialog .settlement-agreement-upload-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.settlement-evidence-upload-dialog .settlement-agreement-upload-title,.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-legacy-agreement,.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-document-upload[data-evidence-key="agreementOther"]{grid-column:1/-1}.settlement-evidence-upload-dialog .settlement-document{padding:8px 9px}.settlement-evidence-upload-dialog .settlement-evidence-tip{padding:7px 9px;font-size:11px;line-height:1.4}.settlement-evidence-upload-dialog .settlement-submit-bar{position:static;padding-bottom:0}}
@media(max-width:519px){.adjustment-note-dialog.settlement-evidence-upload-dialog{max-height:calc(100vh - 16px);padding:14px;overflow-y:auto}.settlement-evidence-upload-dialog .settlement-document-list,.settlement-evidence-upload-dialog .settlement-agreement-upload-group{grid-template-columns:1fr}.settlement-evidence-upload-dialog .settlement-agreement-upload-title,.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-legacy-agreement,.settlement-evidence-upload-dialog .settlement-agreement-upload-group>.settlement-document-upload[data-evidence-key="agreementOther"]{grid-column:auto}.settlement-evidence-upload-dialog .settlement-submit-bar{position:sticky;bottom:-1px;padding-bottom:2px}}
.settlement-review-field{display:flex;flex-direction:column;gap:7px;margin-top:16px;color:#586a61;font-size:12px;font-weight:800}.settlement-review-field input{height:42px;padding:0 12px;border:1px solid #d7e2dc;border-radius:9px;font:inherit;font-weight:500;outline:none}.settlement-review-field input:focus{border-color:#1b9269;box-shadow:0 0 0 3px rgba(27,146,105,.12)}
.settlement-review-note{margin-top:14px;padding:11px 13px;border-radius:10px;background:#fff3ed;color:#9b503b;font-size:12px}
.settlement-review-address-check{display:flex;align-items:flex-start;gap:9px;margin-top:14px;padding:11px 13px;border:1px solid #e3c678;border-radius:10px;background:#fff9e8;color:#77550e;font-size:12px;font-weight:900;line-height:1.45;cursor:pointer}
.settlement-review-address-check input{width:16px;height:16px;flex:0 0 16px;margin-top:1px;accent-color:#0b8f63}
.settlement-contract-address{display:flex;flex-direction:column;gap:5px;margin-top:15px;padding:12px 14px;border:2px solid #e2b654;border-radius:11px;background:#fffaf0}.settlement-contract-address span{color:#8b6415;font-size:10px;font-weight:900}.settlement-contract-address b{color:#263f35;font-size:15px;line-height:1.5}.settlement-contract-address small{color:#a06b10;font-size:10px;font-weight:800}
.performance-confirmed-month{display:block;margin-top:4px;color:#315fa8;font-size:10px;font-weight:900}
.prior-settlement-cell{display:flex;min-width:92px;flex-direction:column;align-items:center;gap:2px;padding:6px 8px;border-radius:8px;background:#eaf3ff;color:#245f9c;cursor:help}.prior-settlement-cell b{font-size:13px}.prior-settlement-cell small{font-size:9px;font-weight:900}.prior-settlement-cell em{font-size:8px;color:#71869a;font-style:normal}
.settlement-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 10px}
.agent-settlement-methods{grid-template-columns:1fr}
.settlement-method{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:11px;padding:10px 13px;border:1px solid #dce8e2;border-radius:12px;background:#fff}
.settlement-method>span{grid-row:1/3;display:grid;place-items:center;min-width:54px;height:34px;border-radius:9px;font-size:11px;font-weight:900}
.settlement-method>b{color:#24483a;font-size:14px}.settlement-method>small{margin-top:2px;color:#72827a;font-size:10px}
.evidence-method{border-color:#bfd9ed;background:#f4f9ff}.evidence-method>span{background:#dceeff;color:#2769a4}
.direct-method{border-color:#c6e3d3;background:#f3fbf7}.direct-method>span{background:#d9f1e3;color:#14764e}
.settlement-action-stack{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.settlement-action-stack .table-action{height:32px!important;font-size:11px!important;font-weight:900}
.evidence-not-submitted{display:block;padding:7px 8px;border:1px dashed #d6b474;border-radius:8px;background:#fffaf0;color:#946312;font-size:10px;font-weight:900;white-space:nowrap}
.unsettled-admin-tools{display:flex;justify-content:center;gap:3px;margin-top:5px;padding-top:5px;border-top:1px solid #e7eee9}.unsettled-admin-tools .table-action{height:25px!important;padding:0 5px!important;font-size:8px!important}

/* 1280×720及16:9屏幕的紧凑呈现 */
.unsettled-compact .content>.notice{display:none}
.unsettled-compact .settlement-methods{gap:7px;margin:0 0 6px}
.unsettled-compact .settlement-method{display:flex;min-height:34px;gap:7px;padding:5px 9px;border-radius:9px}
.unsettled-compact .settlement-method>span{display:grid;min-width:46px;height:26px;flex:0 0 46px;grid-row:auto;border-radius:7px;font-size:10px}
.unsettled-compact .settlement-method>b{flex:0 0 auto;color:#173d32;font-size:13px;white-space:nowrap}
.unsettled-compact .settlement-method>small{min-width:0;margin:0;overflow:hidden;color:#526b63;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.settlement-upload-guide{height:26px;flex:0 0 auto;padding:0 10px;border:1px solid #76a9d1;border-radius:7px;background:#fff;color:#27699e;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}.settlement-upload-guide:hover{background:#e8f4ff}.settlement-upload-guide.primary-guide{border-color:#248965;background:#16845f;color:#fff}.settlement-upload-guide.primary-guide:hover{background:#0d7452}
.unsettled-compact .unsettled-stats{gap:7px;margin-bottom:6px}
.unsettled-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.unsettled-compact .unsettled-stats .stat-card{display:grid;min-height:54px;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;padding:7px 12px;border-radius:9px}
.unsettled-compact .unsettled-stats .stat-card p{margin:0;color:#34564c;font-size:11px;font-weight:700}
.unsettled-compact .unsettled-stats .stat-card strong{grid-column:2;grid-row:1/3;justify-self:end;font-size:22px;line-height:1;font-weight:900}
.unsettled-compact .unsettled-stats .stat-card small{margin:0;color:#9b6b26;font-size:9.5px;line-height:1.25}
.unsettled-compact .secondhand-total-card{border-color:#c8daec;background:#f5f9ff}.unsettled-compact .secondhand-total-card strong{color:#2b68a2}
.unsettled-compact .secondhand-settled-card{border-color:#bfe1cd;background:#f2fbf6}.unsettled-compact .secondhand-settled-card strong{color:#168057}
.unsettled-compact .secondhand-pending-card{border-color:#ead2a5;background:#fff9ee}.unsettled-compact .secondhand-pending-card strong{color:#b16c0d}
.secondhand-commission-card{width:100%;font-family:inherit;text-align:left;cursor:default;border-color:#c8d9d0;background:#f5faf7;color:inherit}.secondhand-commission-card strong{color:#087a55!important}
.unsettled-commission-dialog{width:min(760px,92vw)}.unsettled-commission-total{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 20px 14px}.unsettled-commission-total span{padding:12px 14px;border:1px solid #dcebe3;border-radius:10px;background:#f6fbf8;color:#65736c}.unsettled-commission-total b{display:block;margin-top:4px;color:#087a55;font-size:21px}.unsettled-commission-total small{grid-column:1/-1;color:#718078;text-align:center}.unsettled-commission-table-wrap{max-height:52vh;overflow:auto;border-top:1px solid #e3ebe7;border-bottom:1px solid #e3ebe7}.unsettled-commission-table-wrap table{width:100%;border-collapse:collapse}.unsettled-commission-table-wrap th,.unsettled-commission-table-wrap td{padding:10px 8px;border-bottom:1px solid #edf1ef;text-align:center}.unsettled-commission-table-wrap th{position:sticky;top:0;background:#f5f9f7;color:#52655c}.unsettled-commission-table-wrap td:last-child{color:#087a55;font-weight:900}
.unsettled-compact .unsettled-panel{padding:10px 14px 12px}
.unsettled-compact .unsettled-panel .panel-head{gap:10px;margin-bottom:6px}
.unsettled-compact .unsettled-panel .panel-head h3{font-size:18px}
.unsettled-compact .unsettled-panel .panel-head .small-note{margin-top:2px;color:#536c64;font-size:10.5px;line-height:1.3}
.unsettled-compact .unsettled-filter-toolbar{max-width:none;flex-wrap:nowrap;gap:5px}
.unsettled-compact .unsettled-filter-toolbar .filter-select{min-width:96px;height:32px;padding:0 8px;color:#173d32;font-size:11px;font-weight:700}
.unsettled-compact .unsettled-filter-toolbar button{height:32px;padding:0 9px;font-size:10.5px;font-weight:800;white-space:nowrap}
.unsettled-compact .settlement-action-stack{flex-direction:row;gap:4px}
.unsettled-compact .settlement-action-stack>*{flex:1;min-width:0}
.unsettled-compact .settlement-action-stack .table-action{height:31px!important;padding:0 5px!important;font-size:10.5px!important;line-height:1.15;font-weight:800;white-space:normal}
.unsettled-compact .evidence-not-submitted{display:grid;min-height:31px;place-items:center;padding:3px 5px;color:#60756e;font-size:9.5px;line-height:1.2;white-space:normal}
.unsettled-compact .unsettled-admin-tools{gap:2px;margin-top:2px;padding-top:2px}
.unsettled-compact .unsettled-admin-tools .table-action{height:22px!important;padding:0 5px!important;font-size:9px!important}
.unsettled-compact .unsettled-simple-table td{height:52px;padding:7px 8px}
.unsettled-compact .unsettled-simple-table th{font-size:12px!important}
.unsettled-compact .unsettled-simple-table td{font-size:12px!important}
.unsettled-compact .unsettled-simple-table .case-address{font-size:13px!important}
.unsettled-compact .unsettled-panel .panel-head h3{font-size:18px!important}
.unsettled-compact .unsettled-panel .panel-head .small-note{font-size:11px!important}
.unsettled-compact .unsettled-filter-toolbar .filter-select,
.unsettled-compact .unsettled-filter-toolbar button{font-size:11px!important}
.upload-entry-highlight{animation:uploadEntryPulse 1.1s ease-in-out 3;box-shadow:0 0 0 3px rgba(29,137,96,.2)!important}
@keyframes uploadEntryPulse{50%{background:#16845f!important;color:#fff!important;transform:scale(1.04)}}
.settlement-upload-guide-dialog{width:min(620px,94vw)}
.settlement-upload-steps{display:grid;gap:8px;margin-top:18px}.settlement-upload-steps span{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dce7e1;border-radius:10px;background:#f8fbf9;color:#355247;font-size:13px;font-weight:800}.settlement-upload-steps i{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:50%;background:#16845f;color:#fff;font-size:11px;font-style:normal}
.settlement-upload-example{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;padding:12px;border:1px solid #e2c77f;border-radius:11px;background:#fffaf0}.settlement-upload-example>b,.settlement-upload-example>strong{grid-column:1/-1}.settlement-upload-example>b{color:#765711;font-size:12px}.settlement-upload-example>span{padding:8px;border-radius:8px;background:#fff;color:#42574e;font-size:11px;text-align:center}.settlement-upload-example>strong{color:#a05c12;font-size:12px;text-align:center}
