.window-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 19px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.87rem;
}
.window-banner span { color: var(--muted); }
.window-banner.open { background: #eef8f3; border-color: #cce9dc; }
.window-banner.closed { background: #fff7e8; border-color: #f0dfbd; }
.opportunity-list { display: grid; }
.opportunity { padding: 22px 24px; border-bottom: 1px solid #edf0f3; }
.opportunity:last-child { border-bottom: 0; }
.opportunity-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.opportunity-top > div:first-child { display: flex; gap: 12px; align-items: center; }
.opportunity-top h3, .opportunity-top p { margin: 0; }
.opportunity-top p, .opportunity-reason { font-size: 0.8rem; color: var(--muted); }
.opportunity-reason { margin: 14px 0 8px; }
.opportunity blockquote {
  margin: 0 0 17px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #f8f9fb;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
}
.opportunity-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.phase4-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.phase4-metrics > div {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 15px 17px;
  display: grid;
  gap: 3px;
}
.phase4-metrics strong { font-size: 1.35rem; }
.phase4-metrics span { color: var(--muted); font-size: .78rem; }
td .badge + small, td strong + small { display: block; margin-top: 5px; }
@media (max-width: 920px) {
  .phase4-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .window-banner, .opportunity-top { align-items: flex-start; flex-direction: column; }
  .phase4-metrics { grid-template-columns: 1fr; }
}
