.form-row:has(#property-city) {
  grid-template-columns: 2fr 1fr 1fr;
}
.property-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eff1ed;
}
.property-detail-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.property-detail-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.property-detail-table {
  max-height: 250px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.property-detail-table table {
  min-width: 650px;
}
.document-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.document-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green);
}
.document-row > div {
  min-width: 0;
  flex: 1;
}
.document-row strong,
.document-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-row strong {
  font-size: 11px;
  color: var(--ink);
}
.document-name-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}
.document-name-link:hover {
  text-decoration: underline;
}
.document-name-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}
.document-row .document-delete {
  color: #98483d;
  border-color: #edd8d3;
  background: #fff;
}
.document-row small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.holder-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 12px 0 16px;
}
.holder-choices label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.property-account-table table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.property-account-table th,
.property-account-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}
.property-account-table th:last-child,
.property-account-table td:last-child {
  position: sticky;
  right: 0;
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  text-align: center;
  z-index: 2;
  background: var(--surface);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .property-detail-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .property-detail-actions button {
    flex: 1 1 145px;
  }
  .document-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .document-row > div {
    min-width: calc(100% - 28px);
  }
  .document-row .button {
    margin-left: 27px;
  }
}
