/* 退租待结算弹窗独立排版，避免影响退租申请和其他合同明细。 */
.business-list-page .checkout-settle-modal.checkout-apply-modal { height: min(1040px, calc(100vh - 32px)); }
.business-list-page .checkout-settle-modal .checkout-apply-body { background: #fff; }
.business-list-page .checkout-settle-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.business-list-page .checkout-settle-completed { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #a7f3d0; border-radius: 6px; color: #047857; background: #ecfdf5; font-size: 13px; }
.business-list-page .checkout-settle-batch-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #dbe3ef; background: #fff; }
.business-list-page .checkout-settle-batch-actions > span { margin-right: 4px; color: #64748b; font-size: 12px; }
.business-list-page .checkout-settle-batch-actions button { height: 28px; padding: 0 12px; border: 1px solid #bfdbfe; border-radius: 4px; background: #eff6ff; color: #2563eb; font-size: 12px; cursor: pointer; }
.business-list-page .checkout-settle-batch-actions button:hover:not(:disabled) { border-color: #60a5fa; background: #dbeafe; }
.business-list-page .checkout-settle-fields:disabled .checkout-settle-batch-actions button { color: #94a3b8; border-color: #e2e8f0; background: #f8fafc; cursor: default; }
.business-list-page .checkout-settle-overview {
  padding: 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
}
.business-list-page .checkout-settle-modal .checkout-form-grid span { font-weight: 500; }
.business-list-page .checkout-settle-modal .checkout-detail-section { margin-top: 14px; border-radius: 6px; overflow: hidden; }
.business-list-page .checkout-settle-modal .checkout-section-title { min-height: 40px; height: auto; gap: 12px; padding: 10px 12px; }
.business-list-page .checkout-settle-modal .checkout-section-title h4 { flex-shrink: 0; font-weight: 600; }
.business-list-page .checkout-settle-modal .checkout-section-title strong { font-size: 13px; font-weight: 600; }
.business-list-page .checkout-settle-modal .checkout-section-totals { flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.business-list-page .checkout-settle-table-wrap { overflow-x: auto; }
.business-list-page .checkout-settle-arrears-table { min-width: 1160px; }
.business-list-page .checkout-settle-modal .checkout-detail-section th,
.business-list-page .checkout-settle-modal .checkout-detail-section td { height: 34px; padding: 6px 10px; vertical-align: middle; }
.business-list-page .checkout-settle-modal .checkout-detail-section th { font-weight: 500; }
.business-list-page .checkout-settle-modal .checkout-detail-section th.left { text-align: left; }
.business-list-page .checkout-settle-modal .checkout-detail-section td.checkout-number,
.business-list-page .checkout-settle-modal .checkout-detail-section th.checkout-number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.business-list-page .checkout-settle-modal .checkout-detail-section tbody tr:hover { background: #f8fbff; }
.business-list-page .checkout-settle-modal .checkout-detail-section .checkout-summary { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.business-list-page .checkout-settle-modal .checkout-detail-section tfoot td { background: #f8fafc; border-bottom: 0; font-weight: 600; }
.business-list-page .checkout-settle-modal .checkout-detail-section th small { display: block; margin-top: 3px; color: #64748b; font-size: 11px; font-weight: 400; }
.business-list-page .checkout-settle-muted { color: #94a3b8; }
.business-list-page .checkout-settle-modal .checkout-detail-section th.checkout-settle-latefee-heading,
.business-list-page .checkout-settle-modal .checkout-detail-section .checkout-settle-latefee-headings th { background: #eff6ff; color: #334155; }
.business-list-page .checkout-settle-latefee-start, .business-list-page .checkout-settle-latefee-heading { border-left: 1px solid #dbe3ef; }
.business-list-page .checkout-settle-modal .checkout-detail-section td.checkout-settle-latefee-cell { height: 44px; padding-top: 8px; padding-bottom: 8px; background: #f8fbff; }
.business-list-page .checkout-settle-modal .checkout-settle-latefee-action select { width: 74px; padding: 0 6px; }
.business-list-page .checkout-settle-modal .checkout-settle-latefee-amount input[type='number'] { width: 108px; }
.business-list-page .checkout-settle-latefee-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.business-list-page .checkout-settle-snapshot-row { background: #fffbeb; }
.business-list-page .checkout-settle-notice { margin: 12px 0; padding: 10px 12px; border-left: 3px solid #93c5fd; background: #eff6ff; color: #475569; font-size: 12px; line-height: 1.7; }
.business-list-page .checkout-settle-balance > .checkout-form-grid { padding: 6px 12px 14px; }
.business-list-page .checkout-settle-modal .checkout-settle-confirm > div { display: flex; align-items: center; gap: 8px; }
.business-list-page .checkout-settle-modal .checkout-settle-confirm input[type='checkbox'] { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; padding: 0; }
.business-list-page .checkout-settle-modal .checkout-settle-confirm > div > span { text-align: left; font-size: 12px; line-height: 1.6; }
.business-list-page .checkout-settle-modal .checkout-detail-section .money-danger, .business-list-page .checkout-settle-modal .checkout-detail-section .money-success { font-weight: 600; }
@media (max-width: 1000px) {
  .business-list-page .checkout-settle-modal .checkout-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .business-list-page .checkout-settle-modal .checkout-settle-confirm { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .business-list-page .checkout-settle-modal.checkout-apply-modal { width: calc(100vw - 16px); height: calc(100vh - 16px); }
  .business-list-page .checkout-settle-modal .checkout-apply-body { padding: 10px; }
  .business-list-page .checkout-settle-modal .checkout-form-grid { grid-template-columns: minmax(0, 1fr); }
  .business-list-page .checkout-settle-modal .checkout-section-title { align-items: flex-start; flex-direction: column; }
  .business-list-page .checkout-settle-modal .checkout-section-totals { justify-content: flex-start; }
}
