.market-overview {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.market-overview-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

#marketUpdated {
  color: #667085;
  font-size: 13px;
  white-space: nowrap;
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-metric {
  min-height: 92px;
  padding: 14px;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #f8fafc;
}

.market-metric span,
.market-metric small {
  display: block;
}

.market-metric span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.market-metric strong {
  display: block;
  margin-top: 8px;
  color: #1f2937;
  font-size: 26px;
  line-height: 1.1;
}

.market-metric small {
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.market-metric small.positive {
  color: #b42318;
}

.market-metric small.negative {
  color: #047857;
}

.market-message {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px dashed #d9e0ea;
  border-radius: 8px;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.market-message.warning {
  border-color: #f3d19e;
  background: #fffbeb;
  color: #92400e;
}

@media (max-width: 860px) {
  .market-overview-header,
  .market-metrics {
    grid-template-columns: 1fr;
  }

  .market-overview-header {
    display: block;
  }

  #marketUpdated {
    display: block;
    margin-top: 8px;
    white-space: normal;
  }
}
