/* Classic Lab — Differential Dynamic Advantage auto-pilot control */
#dda-host {
  display: block;
  margin: 0 0 14px;
}

.dda-card {
  position: relative;
  border: 1px solid rgba(120, 180, 255, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(80, 140, 255, 0.16), transparent 60%),
    radial-gradient(120% 140% at 100% 0%, rgba(0, 230, 180, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(14, 22, 40, 0.92), rgba(10, 16, 30, 0.92));
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.dda-card.dda-on {
  border-color: rgba(0, 230, 180, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 230, 180, 0.25), 0 8px 30px rgba(0, 80, 60, 0.35);
}

.dda-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dda-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #061018;
  background: linear-gradient(90deg, #6ec3ff, #00e6b4);
  padding: 3px 9px;
  border-radius: 999px;
}
.dda-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #eaf3ff;
}
.dda-state {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #9fb6d6;
  border: 1px solid rgba(160, 190, 230, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}
.dda-card.dda-on .dda-state {
  color: #061018;
  background: #00e6b4;
  border-color: transparent;
}

.dda-blurb {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #c7d6ec;
}
.dda-blurb b {
  color: #eaf3ff;
}

.dda-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.dda-engage {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #061018;
  background: linear-gradient(90deg, #6ec3ff, #00e6b4);
  padding: 11px 18px;
  border-radius: 11px;
  transition: transform 0.08s ease, filter 0.15s ease;
}
.dda-engage:hover {
  filter: brightness(1.06);
}
.dda-engage:active {
  transform: translateY(1px);
}
.dda-card.dda-on .dda-engage {
  background: linear-gradient(90deg, #ff7a7a, #ff4d6d);
  color: #16060a;
}

.dda-ticks {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dda-ticks-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8aa0c0;
  margin-right: 2px;
}
.dda-tick {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(150, 185, 230, 0.32);
  background: rgba(20, 30, 50, 0.7);
  color: #c7d6ec;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 11px;
  border-radius: 9px;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.dda-tick:hover {
  border-color: rgba(110, 195, 255, 0.7);
}
.dda-tick.on {
  background: linear-gradient(90deg, rgba(110, 195, 255, 0.95), rgba(0, 230, 180, 0.95));
  color: #061018;
  border-color: transparent;
}

.dda-pairs {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dda-pairs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8aa0c0;
  margin-right: 2px;
}
.dda-pairs-select {
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(150, 185, 230, 0.32);
  background: rgba(20, 30, 50, 0.7);
  color: #c7d6ec;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 26px 7px 11px;
  border-radius: 9px;
  background-image: linear-gradient(45deg, transparent 50%, #8aa0c0 50%),
    linear-gradient(135deg, #8aa0c0 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.dda-pairs-select:hover {
  border-color: rgba(110, 195, 255, 0.7);
}

/* Sliding-scale controls: aggressiveness (cadence) + pair budget. */
.dda-slider-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 190px;
  flex: 1 1 200px;
}
.dda-slabel {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.dda-slabel > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8aa0c0;
}
.dda-sval {
  font-size: 12px;
  font-weight: 700;
  color: #bfe6ff;
}
.dda-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(110, 195, 255, 0.85), rgba(0, 230, 180, 0.85));
  outline: none;
  cursor: pointer;
}
.dda-slider:disabled {
  background: rgba(120, 140, 170, 0.35);
  cursor: not-allowed;
}
.dda-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eaf6ff;
  border: 2px solid #0a5ea8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.dda-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eaf6ff;
  border: 2px solid #0a5ea8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.dda-slider:disabled::-webkit-slider-thumb {
  background: #9fb0c6;
  border-color: #4a5a72;
}
.dda-slider:disabled::-moz-range-thumb {
  background: #9fb0c6;
  border-color: #4a5a72;
}
.dda-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #7d92b0;
}
.dda-auto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #c7d6ec;
  cursor: pointer;
  user-select: none;
}
.dda-auto input {
  cursor: pointer;
}

.dda-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  min-height: 26px;
}
.dda-chip {
  font-size: 12px;
  font-weight: 600;
  color: #c7d6ec;
  background: rgba(22, 33, 54, 0.85);
  border: 1px solid rgba(150, 185, 230, 0.22);
  padding: 4px 9px;
  border-radius: 999px;
}
.dda-chip.live {
  color: #061018;
  background: #00e6b4;
  border-color: transparent;
}
.dda-chip.warn {
  color: #1a0d04;
  background: #ffb454;
  border-color: transparent;
}
.dda-chip.off {
  color: #8aa0c0;
}

.dda-fine {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8aa0c0;
}

/* locked / paywall state */
.dda-lock-note {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #ffd28a;
}
.dda-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dda-btn {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 10px;
}
.dda-go {
  color: #061018;
  background: linear-gradient(90deg, #6ec3ff, #00e6b4);
}
.dda-ghost {
  color: #c7d6ec;
  border: 1px solid rgba(150, 185, 230, 0.32);
}
