#policy-archive[hidden] {
  display: none !important;
}
.live-trading {
  scroll-margin-top: 95px;
}
.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trade-panel {
  background: var(--panel, #151619);
  border: 1px solid #ffffff15;
  padding: 32px;
  border-radius: 20px;
  min-width: 0;
}
.trade-panel h3 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 14px 0 24px;
  color: #f4f4ef;
}
.trade-panel label {
  display: block;
  font-size: 13px;
  color: #c0c3bc;
  margin: 20px 0;
}
.trade-panel input,
.trade-panel select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  color: #f4f4ef;
  background: #202125;
  font: inherit;
}
.trade-panel input:focus,
.trade-panel select:focus {
  outline: 2px solid #d9f36a;
  outline-offset: 2px;
}
.trade-panel .input-grid {
  gap: 16px;
}
.trade-panel p {
  line-height: 1.6;
  color: #a9ada5;
}
.trade-panel .connection-actions {
  flex-wrap: wrap;
  margin-top: 22px;
}
.trade-panel .button {
  white-space: normal;
}
.trade-output {
  display: block;
  font-size: clamp(26px, 3vw, 45px);
  letter-spacing: -1.6px;
  color: #f4f4ef;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
#trade-quote {
  border-top: 1px solid #ffffff16;
  margin-top: 26px;
  padding-top: 26px;
  min-height: 170px;
}
.trade-ledger {
  margin: 22px 0;
}
.trade-ledger > div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff10;
  font-size: 13px;
}
.trade-ledger dt {
  color: #9ca197;
  flex-shrink: 0;
}
.trade-ledger dd {
  text-align: right;
  overflow-wrap: anywhere;
  margin: 0;
  color: #f0f1e9;
}
.trade-execution {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid #ffffff16;
  margin: 25px 0;
  padding-top: 22px;
}
.trade-execution > .dot {
  margin-top: 6px;
  flex-shrink: 0;
}
.trade-execution strong {
  font-size: 13px;
  color: #f4f4ef;
}
.trade-execution p {
  font-size: 12px;
  margin: 7px 0 0;
}
.trade-account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}
.trade-account > p {
  font-size: 13px;
  color: #a9ada5;
  max-width: 650px;
  overflow-wrap: anywhere;
}
.trade-account .is-error {
  color: #f5b38b;
}
.trade-pending {
  margin-top: 24px;
  overflow-wrap: anywhere;
}
.trade-panel a {
  color: #d9f36a;
}
.trade-panel details {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #ffffff16;
}
.trade-panel summary {
  cursor: pointer;
  font-size: 13px;
}
.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff15;
  color: #f4f4ef;
  padding: 18px 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.schedule-row small {
  display: block;
  font-size: 11px;
  color: #959c8e;
  margin-top: 6px;
}
.schedule-row > span:last-child {
  font-size: 11px;
  color: #d9f36a;
}
.trade-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.trade-detail-top > a {
  font-size: 12px;
}
#schedule-events {
  margin-top: 30px;
  font-size: 12px;
}
.trade-panel .fine-print {
  font-size: 12px;
}
.trade-panel .button.dark {
  background: #d9f36a;
  color: #17210a;
}
.trade-panel .button.outline,
.trade-account .button.outline {
  color: #f4f4ef;
  border-color: #ffffff30;
}
.trade-panel button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 780px) {
  .trade-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trade-panel {
    padding: 24px;
  }
  .trade-account {
    flex-direction: column;
    align-items: flex-start;
  }
  .trade-ledger > div {
    gap: 12px;
  }
  .trade-ledger dt {
    flex-shrink: 1;
  }
}
