body {
  background-color: #f7f7f5;
}

.status-badge {
  font-size: 0.8rem;
}

.status-New { background-color: #6c757d; }
.status-Screening { background-color: #0d6efd; }
.status-Investigating { background-color: #6610f2; }
.status-Watch { background-color: #fd7e14; }
.status-Passed { background-color: #adb5bd; color: #222; }
.status-Invested { background-color: #198754; }

.diary-entry {
  border-left: 3px solid #dee2e6;
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.diary-entry.type-price_change { border-left-color: #fd7e14; }
.diary-entry.type-decision { border-left-color: #dc3545; }
.diary-entry.type-status_change { border-left-color: #6610f2; }
.diary-entry.type-research { border-left-color: #0d6efd; }

.metric-card {
  border-radius: 0.75rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 600;
}

pre.field-text {
  white-space: pre-wrap;
  font-family: inherit;
  margin-bottom: 0;
}

/* Rental cash flow / equity calculator chart */
.rc-chart {
  width: 100%;
  height: 220px;
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
}

.rc-chart-value { stroke: #0d6efd; stroke-width: 2; }
.rc-chart-balance { stroke: #fd7e14; stroke-width: 2; }
.rc-chart-return { stroke: #198754; stroke-width: 2; stroke-dasharray: 4 3; }
.rc-chart-equity-area { fill: #0d6efd; opacity: 0.08; stroke: none; }
.rc-chart-zero { stroke: #ced4da; stroke-width: 1; stroke-dasharray: 2 2; }
.rc-chart-label { font-size: 9px; fill: #6c757d; }

.rc-legend-swatch {
  display: inline-block;
  width: 0.9rem;
  height: 0.55rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.rc-legend-swatch.rc-chart-value { background-color: #0d6efd; }
.rc-legend-swatch.rc-chart-balance { background-color: #fd7e14; }
.rc-legend-swatch.rc-chart-return { background-color: #198754; }
