.el-dialog.arex-history-receipt {
  --history-ink:#f7f9ff;
  --history-muted:#aeb9cc;
  --history-gain:#63d6a9;
  --history-loss:#ff8995;
  --history-link:#63e5ed;
}
.arex-history-content {
  box-sizing:border-box;
  position:relative;
  padding:25px clamp(15px,5vw,26px) 22px;
  background:#121521;
  color:var(--history-ink);
}
.arex-history-receipt .arex-history-pair {
  margin:0;
  padding-right:38px;
  color:var(--history-ink);
  font-size:clamp(20px,5vw,24px);
  font-weight:650;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.arex-history-receipt .arex-history-summary {
  padding:20px 0 16px;
  text-align:center;
}
.arex-history-receipt .arex-history-profit-title {
  color:var(--history-muted);
  font-size:13px;
  line-height:1.35;
}
.arex-history-receipt .arex-history-profit {
  margin:3px 0 5px;
  font-size:clamp(25px,7.5vw,34px);
  font-weight:650;
  line-height:1.2;
  color:var(--history-ink);
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
.arex-history-receipt :is(.arex-history-profit,.arex-history-field dd):is(.positive,.gain,.rise) { color:var(--history-gain); }
.arex-history-receipt :is(.arex-history-profit,.arex-history-field dd):is(.negative,.loss,.fall) { color:var(--history-loss); }
.arex-history-receipt .arex-history-settled {
  margin:0;
  color:var(--history-muted);
  font-size:14px;
  line-height:1.4;
}
.arex-history-receipt .arex-history-reference {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
  padding:7px 10px 7px 12px;
  border:1px solid #2b3548;
  border-radius:9px;
  background:#171e2d;
}
.arex-history-receipt .arex-history-reference-text { min-width:0; }
.arex-history-receipt .arex-history-reference-label {
  display:block;
  margin:0 0 1px;
  color:var(--history-muted);
  font-size:11px;
  line-height:1.35;
}
.arex-history-receipt .arex-history-ref-value {
  color:var(--history-ink);
  font-size:14px;
  line-height:1.4;
  user-select:all;
  overflow-wrap:anywhere;
}
.arex-history-receipt .arex-history-copy {
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--history-link);
  font:600 13px/1.25 system-ui,sans-serif;
  min-height:36px;
  max-width:45%;
  padding:5px 8px;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.arex-history-receipt .arex-history-copy:hover { background:#63e5ed1a; }
.arex-history-receipt .arex-history-copy-status {
  color:var(--history-muted);
  line-height:1.35;
  font-size:12px;
  overflow-wrap:anywhere;
}
.arex-history-receipt .arex-history-copy-status.has-message { margin:0 0 8px; }
.arex-history-receipt .arex-history-fields {
  display:grid;
  gap:9px;
  margin:0;
}
.arex-history-receipt .arex-history-field {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  align-items:baseline;
  gap:8px;
  min-width:0;
}
.arex-history-receipt .arex-history-field :is(dt,dd) {
  margin:0;
  font-size:14px;
  line-height:1.28;
  overflow-wrap:anywhere;
}
.arex-history-receipt .arex-history-field dt { color:var(--history-muted); }
.arex-history-receipt .arex-history-field dd {
  color:var(--history-ink);
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.list_content .arex-history-row,
.list_content .arex-history-open { cursor:pointer; }
.list_content .arex-history-row:hover,
.list_content .arex-history-row:focus-within { background:#131d2c; }
.list_content .arex-history-row .arex-history-product {
  display:inline-flex;
  align-items:flex-start;
  flex-direction:column;
  min-width:0;
  gap:2px;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:anywhere;
}
.list_content .arex-history-row .arex-history-product > span { width:auto; max-width:100%; }
.list_content .arex-history-open {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  max-width:100%;
  padding:2px 6px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#70e6ee;
  font:inherit;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:left;
  text-decoration:underline;
  text-underline-offset:3px;
}
.list_content .arex-history-open:hover { background:#19323d; }
.list_content .arex-history-open:focus-visible { outline:2px solid #70e6ee; outline-offset:2px; }
@media (max-width:480px), (max-height:620px) {
  .arex-history-receipt .arex-history-content { padding-top:22px; padding-bottom:16px; }
  .arex-history-receipt .arex-history-summary { padding:14px 0 12px; }
  .arex-history-receipt .arex-history-fields { gap:7px; }
  .arex-history-receipt .arex-history-field :is(dt,dd) { font-size:13px; }
}
