/* 威特广场租赁收租管理系统 v14.1.1 */
/* 表格溢出热修复：铺位编号、商户名称只能在本单元格内显示。 */
.contracts-table td:nth-child(3),
.contracts-table td:nth-child(4) {
  overflow: hidden;
}
.v1411-ellipsis-cell {
  overflow: hidden !important;
  min-width: 0;
}
.v1411-ellipsis-link {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}
.v1411-rule-cell {
  max-width: 260px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.v1411-method-cell,
.v1411-cycle-cell,
.v1411-paid-through-cell {
  white-space: normal;
  line-height: 1.45;
}
.v1411-disabled-rule {
  opacity: .5;
}
.inline-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  font-weight: 500 !important;
}
.inline-check input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.status-warn {
  background: #fff4cc;
  color: #8a5b00;
  border: 1px solid #ffd873;
}
#paymentCycleHint,
#manualBillPreview,
#paymentBillSummary,
#rentApprovalPreview {
  white-space: pre-line;
}
@media (max-width: 900px) {
  .v1411-rule-cell { max-width: 210px; }
}

/* V14.1.1 精简显示：普通合同统一收费，只有抽成合同展开分项字段。 */
.v1411-turnover-only.hidden,
.v1411-bill-component-field.hidden,
.v1411-manual-component-field.hidden,
.v1411-property-rule.hidden {
  display: none !important;
}
.v1411-common-billing small,
.v1411-turnover-only small {
  line-height: 1.45;
}
.v1411-method-cell,
.v1411-cycle-cell,
.v1411-paid-through-cell {
  vertical-align: middle;
}
.v1411-turnover-hint {
  border-left: 3px solid #f0ad4e;
}
