.ec-trade-parties, .ec-channel-journeys, .ec-money-board { margin: .7rem 0 1rem; }
.ec-trade-row, .ec-channel-row {
  display: grid;
  grid-template-columns: minmax(7rem, .8fr) minmax(7.5rem, 1fr) minmax(10rem, 1.4fr) minmax(7.5rem, 1fr);
  align-items: center;
  gap: .5rem clamp(.5rem, 1.6vw, 1.4rem);
  border-top: 1px solid #c9c0a9;
  padding: .65rem .5rem;
}
.ec-trade-row:last-child { border-bottom: 1px solid #c9c0a9; }
.ec-trade-type, .ec-channel-row header {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: .15rem;
}
.ec-trade-type > b, .ec-channel-row header > b, .ec-money-band h4 > b {
  background: #ffdf53;
  padding: .04rem .5rem;
  border-radius: .25rem;
  font-size: 1.18em;
}
.ec-trade-row:nth-child(2) .ec-trade-type > b { background: #b6e3de; }
.ec-trade-row:nth-child(3) .ec-trade-type > b { background: #f6c0d4; }
.ec-trade-actor {
  display: grid;
  justify-items: center;
  text-align: center;
  line-height: 1.45;
}
.ec-trade-actor img { width: min(100%, 91px); height: auto; display: block; }
.ec-trade-line.ec-book-lanes { gap: .3rem; }
.ec-trade-line.ec-book-lanes b { margin: 0; }
.ec-channel-row { grid-template-columns: minmax(9rem, .9fr) minmax(9rem, 1.1fr) minmax(11rem, 1.3fr) minmax(9rem, 1.1fr); }
.ec-channel-row header strong { font-size: .95em; }
.ec-channel-row .ec-trade-actor img { width: min(100%, 105px); }
.ec-channel-shared { background: #f3f5e9; }
.ec-channel-shared header b, .ec-money-band h4 b { background: #b6e3de; }
.ec-channel-data {
  grid-column: 2 / -1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 2px solid #41786d;
  border-radius: .35rem;
  background: #e3f1e8;
  margin: .4rem 12% .2rem;
  padding: .25rem .6rem;
  text-align: left;
}
.ec-channel-data::before, .ec-channel-data::after {
  content: "";
  position: absolute;
  top: -.65rem;
  height: .65rem;
  width: 2px;
  background: #41786d;
}
.ec-channel-data::before { left: 6%; }
.ec-channel-data::after { right: 6%; }
.ec-channel-data img { width: 57px; height: auto; }
.ec-channel-data small { display: block; }
.ec-money-parties, .ec-money-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 1fr) minmax(10rem, 1.2fr) minmax(9.5rem, 1fr);
  align-items: center;
  gap: .45rem 1rem;
}
.ec-money-parties > :last-child { grid-column: 3; }
.ec-money-band { margin-top: .7rem; padding: .65rem 0; border-top: 1px solid #b8b09c; }
.ec-money-band h4 { margin: 0 0 .55rem; }
.ec-money-band h4 > b { margin-inline-end: .4rem; }
.ec-money-record {
  display: grid;
  justify-items: center;
  border-radius: .3rem;
  padding: .45rem;
  background: #e3f1e8;
  text-align: center;
}
.ec-money-record span { white-space: nowrap; }
.ec-money-receipt { margin: 0; text-align: center; font-size: .88em; }
.ec-settlement-band h4 > b, .ec-settlement-band .ec-money-record { background: #fce6ae; }
.ec-settlement-band .ec-trade-line { color: #7e4c18; }
.ec-settlement-band p { margin: .5rem 0 0; }
@media (max-width: 700px) {
  .ec-trade-row, .ec-channel-row, .ec-money-parties, .ec-money-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: .4rem;
  }
  .ec-trade-type, .ec-channel-row header { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .5rem; }
  .ec-channel-data { grid-column: 1 / -1; margin-inline: 6%; font-size: .9em; }
  .ec-money-record span { white-space: normal; }
}
