.trade-live-comms {
  color: #172039;
  max-width: 1240px;
  margin: auto;
}
.trade-live-comms h1 {
  font-size: 30px;
  margin: 0 0 10px;
}
.trade-live-comms h2 {
  font-size: 17px;
}
.trade-live-comms header > p,
.tl-help {
  color: #64708b;
  font-size: 13px;
}
.tl-controls,
.tl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin: 20px 0;
}
.trade-live-comms label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  min-width: 160px;
}
.trade-live-comms select,
.trade-live-comms input,
.trade-live-comms textarea {
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8d8eb;
  border-radius: 7px;
  padding: 10px;
  background: white;
  color: inherit;
  font: inherit;
}
.trade-live-comms textarea {
  width: 100%;
  line-height: 1.7;
  resize: vertical;
}
.trade-live-comms button {
  border: 1px solid #d8d8eb;
  border-radius: 7px;
  padding: 10px 14px;
  background: #fff;
  color: #5139bd;
  cursor: pointer;
}
.trade-live-comms button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.tl-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tl-columns section {
  min-width: 0;
  border: 1px solid #e2e1ef;
  padding: 20px;
  background: white;
  border-radius: 12px;
}
.tl-columns label {
  margin: 14px 0;
}
.tl-incoming {
  padding: 16px 20px;
  background: #f6f4ff;
  border: 1px solid #e2dcff;
  border-radius: 10px;
  margin: 16px 0;
}
.tl-incoming p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.tl-warning {
  background: #fff6e4;
  padding: 12px;
  color: #69471b;
  border-radius: 7px;
}
.tl-empty {
  padding: 40px;
  text-align: center;
}
.tl-controls select {
  max-width: 330px;
}
.tl-actions #tl-save {
  color: white;
  background: #6345d8;
}
.trade-live-comms textarea[dir='rtl'] {
  text-align: right;
}
@media (max-width: 760px) {
  .tl-columns {
    grid-template-columns: 1fr;
  }
  .tl-controls label {
    width: 100%;
    min-width: 0;
  }
  .tl-controls select {
    max-width: 100%;
    width: 100%;
  }
  .trade-live-comms h1 {
    font-size: 25px;
  }
  .tl-columns section {
    padding: 14px;
  }
}
