.dashboard-shell .bot-pair-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-content: stretch;
  gap: 16px;
}
.dashboard-shell .bot-pair-card .bot-status-reason { width: 100%; grid-column: 1 / -1; box-sizing: border-box; }
.dashboard-shell .bot-pair-card > dl.bot-card-metrics,
.dashboard-shell .portfolio-market-item > dl.bot-card-metrics {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  text-align: center;
}
.dashboard-shell .bot-card-metrics > div { min-width: 0; padding: 0 5px; }
.dashboard-shell .bot-card-metrics > div > dt { font-size: 11px; line-height: 1.3; }
.dashboard-shell .bot-card-metrics > div > dd {
  margin: 7px 0 0;
  font-size: 17px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: anywhere;
}
.dashboard-shell .bot-card-metrics .bot-metric-days > dd { color: #7bdfa6; font-size: 21px; font-weight: 700; }
.dashboard-shell .bot-card-metrics .bot-status { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.dashboard-shell .bot-pair-card .bot-pair-main { width: 100%; justify-content: center; }
.dashboard-shell .bot-pair-card .bot-pair-identity { flex: 0 1 auto; align-items: center; text-align: center; }
.dashboard-shell .bot-pair-card .bot-pair-name { justify-content: center; }
.dashboard-shell .bot-pair-card .multi-coin-identity { width: auto; min-width: 112px; height: auto; min-height: 42px; flex-direction: row; }
.dashboard-shell .portfolio-market-item .portfolio-pair-label { width: 100%; justify-content: center; }
.dashboard-shell .portfolio-market-item .portfolio-pair-identity { align-items: center; text-align: center; }
.dashboard-shell .portfolio-market-item .bot-pair-name { justify-content: center; flex-wrap: wrap; max-width: 100%; line-height: 1.15; }
.desktop-dashboard-shell .portfolio-market-item {
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr);
}
@media (max-width: 600px) {
  .mobile-dashboard-shell .bot-pair-card > dl.bot-card-metrics,
  .mobile-dashboard-shell .portfolio-market-item > dl.bot-card-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .mobile-dashboard-shell .bot-card-metrics > div { border-left: 0; }
}
body .multi-coin-customer-period-total,
body .mc-period-total,
body .mc-balance-history article,
body .strategy-market-group + .strategy-market-group { border-left: 0; }
body .mc-balance-metrics article { border-right: 0; }
