.future-trade-page--core .v2-auto-panel {
  background-color: #1e2725;
}

.future-trade-page--core .v2-auto-panel .v2-auto-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.65rem 0;
}

.future-trade-page--core .v2-auto-panel .v2-auto-stats > div {
  background-color: #27322e;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.future-trade-page--core .v2-auto-panel .v2-auto-stats > div > span {
  color: #b9c1b8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.future-trade-page--core .v2-auto-panel .v2-auto-stats strong {
  display: block;
  margin-top: 0.25rem;
  color: #f8f4e9;
  font-size: 0.82rem;
  line-height: 1.5;
}

.future-trade-page--core .v2-auto-panel .v2-auto-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.future-trade-page--core .v2-auto-panel #autoTradeStart,
.future-trade-page--core .v2-auto-panel #autoTradeStop {
  flex: 1;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid #c3a567;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.future-trade-page--core .v2-auto-panel #autoTradeStart {
  background:#c3a567 !important; background-image:none !important; color:#1e2725 !important;
}

.future-trade-page--core .v2-auto-panel #autoTradeStart:hover:not(:disabled) {
  background:#d1b97e !important; color:#1e2725 !important;
}

.future-trade-page--core .v2-auto-panel #autoTradeStop {
  background:#c3a567 !important; background-image:none !important; color:#1e2725 !important;
}

.future-trade-page--core .v2-auto-panel #autoTradeStop:hover:not(:disabled) {
  background:#d1b97e !important; color:#1e2725 !important;
}

.future-trade-page--core .v2-auto-panel #autoTradeStart:disabled,
.future-trade-page--core .v2-auto-panel #autoTradeStop:disabled {
  background:#27322e !important; background-image:none !important; color:#b9c1b8 !important; border-color:#69766d; opacity:.75; cursor:default;
}

.future-trade-page--core .v2-auto-panel .v2-auto-row {
  display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:.75rem; row-gap:.2rem; padding:.65rem 0; border-bottom:1px solid rgba(248,244,233,.1);
}

.future-trade-page--core .v2-auto-panel .v2-auto-row strong {
  font-size: 0.72rem;
  color: #b9c1b8;
  grid-column:1 / -1; line-height:1.4; font-weight:500;
}

.future-trade-page--core .v2-auto-panel .v2-auto-row span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #f8f4e9;
  min-width:0; overflow-wrap:anywhere;
}

.future-trade-page--core .v2-auto-panel .v2-auto-row b {
  font-size: 0.82rem;
  white-space: nowrap;
  align-self:center;
}

.future-trade-page--core .v2-auto-panel .v2-auto-row b.up {
  color:#7ecbaa;
}

.future-trade-page--core .v2-auto-panel .v2-auto-row b.down {
  color:#e88787;
}

.future-trade-page--core .v2-auto-panel .auto-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background-color: #27322e;
  border-radius: 8px;
}

.future-trade-page--core .v2-auto-panel .auto-status-pill i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: #b9c1b8;
}

.future-trade-page--core .v2-auto-panel .auto-status-pill.is-running i {
  background-color:#7ecbaa;
}

.future-trade-page--core .v2-auto-panel .auto-status-text {
  color: #f8f4e9;
  font-weight: 600;
}

.future-trade-page--core .v2-auto-panel .v2-auto-input {
  margin-top: 1rem;
}

.future-trade-page--core .v2-auto-panel .v2-auto-input > span {
  display: block;
  color: #b9c1b8;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.future-trade-page--core .v2-auto-panel .v2-auto-input input {
  width: 100%;
  background-color: #27322e;
  border: 1px solid #c3a567;
  border-radius: 8px;
  padding: 0.75rem;
  color: #f8f4e9;
  font-size: 0.82rem;
}

.future-trade-page--core .v2-auto-panel .v2-auto-input input:focus {
  outline: 3px solid #c3a567;
  outline-offset: 2px;
}

.future-trade-page--core .v2-auto-panel .auto-log-entries {
  margin-top: 1.25rem;
}

.future-trade-page--core .v2-auto-panel .auto-log-line {
  padding: 0.5rem 0.75rem;
  color: #b9c1b8;
  font-size: 0.78rem;
  background-color: rgba(30, 39, 37, 0.4);
  border-radius: 8px;
}

.future-trade-page--core .v2-auto-panel .auto-log-line[data-v2-auto-idle] {
  color: #b9c1b8;
  font-style: italic;
}

.future-trade-page--core .v2-auto-panel .auto-log-line:not([data-v2-auto-idle]) {
  background-color: rgba(39, 50, 46, 0.6);
  color: #f8f4e9;
}

.future-trade-page--core .v2-auto-panel .auto-log-line strong {
  color: #c3a567;
  font-weight: 600;
}

.future-trade-page--core .v2-auto-panel .auto-log-line span {
  margin-left: 0.5rem;
}

.future-trade-page--core .v2-auto-panel #autoTradeStart:focus-visible,
.future-trade-page--core .v2-auto-panel #autoTradeStop:focus-visible { outline:2px solid #c3a567; outline-offset:3px; }

.future-trade-page--core .v2-auto-panel .v2-auto-stats strong span { color:inherit; font-size:inherit; letter-spacing:normal; }
