.depot-history { display: grid; gap: 9px; align-items: start; }
.depot-history-card {
  min-inline-size: 0;
  padding: 10px;
  border: 1px solid #334861;
  border-radius: 6px;
  background: #121f30;
}
.depot-history-card > h4 { margin: 0 0 7px; color: #e5f0fc; font-size: .89rem; }
.depot-history-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 4px 0 0;
  padding: 0;
  min-inline-size: 0;
  font-size: .79rem;
}
.depot-history-amounts > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; min-inline-size: 0; }
.depot-history-amounts dt { color: var(--muted); overflow-wrap: anywhere; }
.depot-history-amounts dd { margin: 0; color: #eef6fd; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.depot-history-card > .depot-history-amounts dd { color: var(--amber); }
.depot-history-card details { margin-block-start: 6px; border-block-start: 1px solid #35475d; }
.depot-history-entries { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.depot-history-entries > li {
  min-inline-size: 0;
  padding: 8px;
  border: 1px solid #35475d;
  border-radius: 5px;
  background: #101b2b;
}
.depot-history-entry-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 8px;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.depot-history-entry-heading time { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.depot-history-entries .alliance-muted { margin-block-start: 3px; font-size: .77rem; overflow-wrap: anywhere; }

@container (min-width: 640px) {
  .depot-history { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}
