/* TenantPeach payment control polish | Nov 04 2026 | visual-only */
.tp-rent-review,
.tp-rent-review * { box-sizing: border-box; }
.tp-rent-review {
  max-width: 100%;
  overflow-wrap: normal;
  border-radius: 19px;
  color: #203d34;
}
.tp-rent-review .tp-rent-head h2 { line-height: 1.17; }
.tp-rent-review .tp-rent-list-head {
  align-items: center;
  gap: 12px;
}
.tp-rent-review .tp-rent-list-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tp-rent-review .tp-rent-list-head button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #d1e5da;
  border-radius: 11px;
  background: #ebf5ef;
  color: #215c4a;
  font: 750 13px/1.2 system-ui, sans-serif;
  letter-spacing: 0;
  transition: background-color .15s ease, border-color .15s ease;
}
.tp-rent-review .tp-rent-list-head button:hover:not(:disabled) {
  background: #d7ece0;
  border-color: #a9cdb9;
}
.tp-rent-review .tp-rent-item {
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 4px;
  min-height: 60px;
  border-color: #e1ebe5;
}
.tp-rent-review .tp-rent-item input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #19664f;
  border-radius: 4px;
  flex: 0 0 20px;
  cursor: pointer;
}
.tp-rent-review .tp-rent-line {
  min-width: 0;
  display: grid;
  gap: 4px;
  line-height: 1.4;
}
.tp-rent-review .tp-rent-line strong {
  font-size: 14px;
  line-height: 1.32;
}
.tp-rent-review .tp-rent-line small {
  display: block;
  font-size: 12px;
  color: #597166;
}
.tp-rent-review .tp-rent-line em {
  display: block;
  font-size: 11px;
  color: #2b7258;
}
.tp-rent-review .tp-rent-item > b {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tp-rent-review .tp-rent-actions {
  display: grid;
  gap: 10px;
}
.tp-rent-review .tp-rent-button {
  min-height: 49px;
  width: 100%;
  padding: 12px 17px;
  border: 1px solid #1e6b54;
  border-radius: 12px;
  font: 750 14px/1.35 system-ui, sans-serif;
  background: #1d6b54;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(20,79,58,.10);
  white-space: normal;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}
.tp-rent-review .tp-rent-button.tp-rent-light {
  background: #e9f3ed;
  border-color: #cde0d4;
  color: #265e4b !important;
  box-shadow: none;
}
.tp-rent-review .tp-rent-button:disabled {
  box-shadow: none;
  opacity: 1;
}
.tp-rent-review button:focus-visible,
.tp-rent-review input[type="checkbox"]:focus-visible {
  outline: 3px solid #ce895c !important;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  .tp-rent-review { margin: 14px 0 22px; padding: 16px 13px; }
  .tp-rent-review .tp-rent-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .tp-rent-review .tp-rent-charge-panel,
  .tp-rent-review .tp-rent-summary { min-width: 0; padding: 15px; }
  .tp-rent-review .tp-rent-list-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .tp-rent-review .tp-rent-list-head > div { width: 100%; gap: 8px; }
  .tp-rent-review .tp-rent-list-head button {
    flex: 1 1 auto;
    min-height: 45px;
    max-width: 100%;
    padding: 10px;
    text-align: center;
  }
  .tp-rent-review .tp-rent-item {
    grid-template-columns: 22px minmax(0,1fr);
    align-items: start;
    gap: 8px 12px;
    padding: 14px 1px;
  }
  .tp-rent-review .tp-rent-item input[type="checkbox"] { margin-top: 3px !important; }
  .tp-rent-review .tp-rent-item > b {
    grid-column: 2;
    justify-self: start;
    font-size: 15px;
  }
  .tp-rent-review .tp-rent-summary-head { flex-wrap: wrap; gap: 8px; }
  .tp-rent-review .tp-rent-summary-head strong { white-space: normal; overflow-wrap: anywhere; }
  .tp-rent-review .tp-rent-button { min-height: 50px; font-size: 15px; }
  .tp-rent-review .tp-rent-notes { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-rent-review button { transition: none !important; }
}