:root {
  --mission-gold: #ffd84a;
  --mission-orange: #ff9f1a;
  --mission-green: #22c55e;
  --mission-red: #ff5570;
  --mission-blue: #38bdf8;
  --mission-muted: #98a4b5;
  --mission-white: #f8fafc;
}

#mission-control {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 14px 118px;
}

.mission-hero,
.market-status-card,
.best-opportunity-card,
.market-intelligence-card,
.opportunity-section,
.latest-alerts-card,
.mission-error {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(255, 216, 74, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(255, 216, 74, 0.075),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(13, 34, 42, 0.97),
      rgba(4, 13, 19, 0.99)
    );
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mission-hero {
  background:
    radial-gradient(
      circle at 16% 0%,
      rgba(255, 216, 74, 0.16),
      transparent 38%
    ),
    radial-gradient(
      circle at 95% 0%,
      rgba(255, 159, 26, 0.08),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(31, 24, 10, 0.98),
      rgba(5, 13, 17, 0.995)
    );
}

.mission-hero-top,
.market-status-header,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.mission-hero h1 {
  margin: 8px 0 7px;
  font-size: 34px;
  line-height: 0.96;
}

.online-line {
  margin: 0 !important;
  color: var(--mission-muted) !important;
  font-size: 12px !important;
}

.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--mission-green);
  box-shadow: 0 0 13px rgba(34, 197, 94, 0.7);
}

.refresh-button,
.open-trade-button {
  border: 0;
  color: #211600 !important;
  background:
    linear-gradient(
      135deg,
      var(--mission-gold),
      var(--mission-orange)
    ) !important;
  box-shadow: 0 11px 30px rgba(255, 159, 26, 0.18);
  font-weight: 1000;
}

.refresh-button {
  min-width: 88px;
  min-height: 41px;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 12px;
}

.command-grid,
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.command-grid {
  margin-top: 15px;
}

.command-control,
.metric-tile {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.13);
  background:
    linear-gradient(
      180deg,
      rgba(16, 47, 63, 0.94),
      rgba(5, 18, 27, 0.99)
    );
}

.command-control {
  min-height: 66px;
  padding: 11px;
  border-radius: 17px;
}

.command-control span,
.metric-tile span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 10px;
  font-weight: 900;
}

.command-control strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mission-white);
  font-size: 16px;
  font-weight: 1000;
}

.command-control strong::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mission-gold);
  box-shadow: 0 0 12px rgba(255, 216, 74, 0.68);
}

.timeframe-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 11px;
}

.timeframe-tabs button {
  min-width: 0;
  min-height: 37px;
  padding: 8px 3px;
  border: 1px solid rgba(255, 216, 74, 0.14);
  border-radius: 13px;
  color: var(--mission-muted);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  font-size: 11px;
  font-weight: 1000;
}

.timeframe-tabs button.active {
  color: #211600;
  border-color: rgba(255, 216, 74, 0.55);
  background:
    linear-gradient(
      135deg,
      var(--mission-gold),
      var(--mission-orange)
    );
}

.market-status-card.bearish {
  border-color: rgba(255, 85, 112, 0.3);
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255, 85, 112, 0.18),
      transparent 39%
    ),
    linear-gradient(
      180deg,
      rgba(40, 14, 27, 0.97),
      rgba(5, 13, 19, 0.99)
    );
}

.market-status-card.bullish {
  border-color: rgba(34, 197, 94, 0.29);
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(34, 197, 94, 0.18),
      transparent 39%
    ),
    linear-gradient(
      180deg,
      rgba(7, 43, 28, 0.97),
      rgba(5, 13, 19, 0.99)
    );
}

.market-status-header h2,
.section-heading h2 {
  margin: 7px 0;
  font-size: 27px;
}

.market-status-header p,
.section-heading p {
  margin: 0 !important;
  font-size: 12px !important;
}

.market-status-card.bearish h2 {
  color: var(--mission-red);
}

.market-status-card.bullish h2 {
  color: var(--mission-green);
}

.market-bias-badge,
.best-score-badge,
.brief-timeframe-badge,
.count-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 1000;
}

.market-bias-badge,
.best-score-badge,
.brief-timeframe-badge {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.28);
  background: rgba(255, 216, 74, 0.09);
}

.market-status-card.bearish .market-bias-badge {
  color: var(--mission-red);
  border-color: rgba(255, 85, 112, 0.28);
  background: rgba(255, 85, 112, 0.09);
}

.market-status-card.bullish .market-bias-badge {
  color: var(--mission-green);
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.09);
}

.market-strength,
.opportunity-progress {
  margin-top: 15px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 17px;
  background: rgba(4, 14, 21, 0.62);
}

.strength-heading,
.opportunity-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.strength-heading span,
.opportunity-progress span {
  color: var(--mission-muted);
  font-size: 11px;
  font-weight: 900;
}

.strength-heading strong,
.opportunity-progress strong {
  font-size: 12px;
  font-weight: 1000;
}

.strength-track,
.readiness-track {
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
}

.strength-fill,
.readiness-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 300ms ease;
}

.strength-fill {
  background:
    linear-gradient(
      90deg,
      var(--mission-red),
      var(--mission-gold),
      var(--mission-green)
    );
}

.readiness-fill {
  background:
    linear-gradient(
      90deg,
      var(--mission-blue),
      var(--mission-gold)
    );
}

.market-status-card .metric-grid,
.best-opportunity-card .metric-grid {
  margin-top: 11px;
}

.metric-tile {
  min-height: 72px;
  padding: 12px;
  border-radius: 17px;
}

.metric-tile strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.04em;
}

.positive {
  color: var(--mission-green) !important;
}

.negative {
  color: var(--mission-red) !important;
}

.best-opportunity-card {
  border-color: rgba(56, 189, 248, 0.22);
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(56, 189, 248, 0.14),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(9, 37, 48, 0.97),
      rgba(4, 13, 19, 0.99)
    );
}

.opportunity-progress p {
  margin: 9px 0 0 !important;
  color: var(--mission-muted) !important;
  font-size: 10px !important;
}

.open-trade-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 16px;
  font-size: 13px;
}

.open-trade-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.section-heading.compact {
  align-items: center;
}

.market-brief {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.market-brief article {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 14px;
  background: rgba(4, 14, 21, 0.57);
}

.brief-icon {
  color: var(--mission-gold);
  font-size: 17px;
  font-weight: 1000;
}

.market-brief p {
  margin: 0 !important;
  color: #d6dee8 !important;
  font-size: 11px !important;
}

.shorts-section {
  border-color: rgba(255, 85, 112, 0.29);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 85, 112, 0.17),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(43, 14, 27, 0.96),
      rgba(5, 13, 19, 0.99)
    );
}

.longs-section {
  border-color: rgba(34, 197, 94, 0.28);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(34, 197, 94, 0.17),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(7, 42, 28, 0.96),
      rgba(5, 13, 19, 0.99)
    );
}

.shorts-section h2 {
  color: var(--mission-red);
}

.longs-section h2 {
  color: var(--mission-green);
}

.count-badge {
  min-width: 37px;
  text-align: center;
}

.short-count {
  color: var(--mission-red);
  border: 1px solid rgba(255, 85, 112, 0.28);
  background: rgba(255, 85, 112, 0.09);
}

.long-count {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.09);
}

.opportunity-list,
.latest-alerts-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.opportunity-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 68px;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  color: var(--mission-white);
  text-decoration: none;
  background:
    linear-gradient(
      180deg,
      rgba(16, 47, 63, 0.91),
      rgba(5, 18, 27, 0.98)
    );
}

.shorts-section .opportunity-row {
  border-color: rgba(255, 85, 112, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(76, 20, 36, 0.76),
      rgba(10, 22, 31, 0.98)
    );
}

.longs-section .opportunity-row {
  border-color: rgba(34, 197, 94, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(12, 67, 42, 0.76),
      rgba(10, 22, 31, 0.98)
    );
}

.opportunity-rank {
  color: var(--mission-muted);
  font-size: 13px;
  font-weight: 1000;
  text-align: center;
}

.opportunity-copy {
  min-width: 0;
}

.opportunity-copy strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 1000;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.opportunity-copy span {
  display: block;
  margin-top: 5px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.opportunity-score {
  min-width: 55px;
  text-align: right;
}

.opportunity-score strong {
  display: block;
  font-size: 16px;
  font-weight: 1000;
}

.opportunity-score span {
  display: block;
  margin-top: 5px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 900;
}

.shorts-section .opportunity-score strong {
  color: var(--mission-red);
}

.longs-section .opportunity-score strong {
  color: var(--mission-green);
}

.view-alerts-link {
  color: var(--mission-gold);
  font-size: 10px;
  font-weight: 1000;
  text-decoration: none;
}

.latest-alert-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 15px;
  text-decoration: none;
  background: rgba(4, 14, 21, 0.57);
}

.latest-alert-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.18);
  background: rgba(255, 216, 74, 0.07);
}

.latest-alert-copy {
  min-width: 0;
}

.latest-alert-copy strong {
  display: block;
  overflow: hidden;
  color: var(--mission-white);
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.latest-alert-copy span {
  display: block;
  margin-top: 4px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 850;
}

.latest-alert-time {
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
}

.empty-message {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 15px;
  color: var(--mission-muted);
  background: rgba(4, 14, 21, 0.42);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.mission-error {
  color: #ff899a;
  border-color: rgba(255, 85, 112, 0.28);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 420px) {
  #mission-control {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mission-hero,
  .market-status-card,
  .best-opportunity-card,
  .market-intelligence-card,
  .opportunity-section,
  .latest-alerts-card {
    padding: 15px;
    border-radius: 22px;
  }

  .mission-hero h1 {
    font-size: 31px;
  }

  .market-status-header h2,
  .section-heading h2 {
    font-size: 25px;
  }
}

/* ATLAS V32.2 MARKET STATE START */

body.atlas-v32 .market-status-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

body.atlas-v32 .market-status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.95;
  transition:
    opacity 320ms ease,
    background 320ms ease;
}

body.atlas-v32 .market-status-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.22;
  filter: blur(18px);
  animation: atlas-market-pulse 4.5s ease-in-out infinite;
}

body.atlas-v32 .market-status-card.bearish {
  border-color: rgba(255, 85, 112, 0.52) !important;
  background:
    linear-gradient(
      145deg,
      rgba(54, 10, 24, 0.98),
      rgba(25, 8, 17, 0.99) 48%,
      rgba(5, 13, 19, 0.995)
    ) !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(255, 85, 112, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.atlas-v32 .market-status-card.bearish::before {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 85, 112, 0.25),
      transparent 42%
    ),
    radial-gradient(
      circle at 94% 12%,
      rgba(190, 24, 93, 0.16),
      transparent 38%
    );
}

body.atlas-v32 .market-status-card.bearish::after {
  background: rgba(255, 85, 112, 0.72);
}

body.atlas-v32 .market-status-card.bearish h2,
body.atlas-v32 .market-status-card.bearish
  #market-status-title {
  color: #ff5f7b !important;
  text-shadow: 0 0 24px rgba(255, 85, 112, 0.17);
}

body.atlas-v32 .market-status-card.bearish
  .market-bias-badge {
  color: #ff6d86 !important;
  border-color: rgba(255, 85, 112, 0.42) !important;
  background: rgba(255, 85, 112, 0.12) !important;
  box-shadow: inset 0 0 18px rgba(255, 85, 112, 0.04);
}

body.atlas-v32 .market-status-card.bullish {
  border-color: rgba(34, 197, 94, 0.48) !important;
  background:
    linear-gradient(
      145deg,
      rgba(7, 53, 31, 0.98),
      rgba(5, 31, 21, 0.99) 48%,
      rgba(5, 13, 19, 0.995)
    ) !important;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(34, 197, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.atlas-v32 .market-status-card.bullish::before {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(34, 197, 94, 0.24),
      transparent 42%
    ),
    radial-gradient(
      circle at 94% 12%,
      rgba(16, 185, 129, 0.15),
      transparent 38%
    );
}

body.atlas-v32 .market-status-card.bullish::after {
  background: rgba(34, 197, 94, 0.68);
}

body.atlas-v32 .market-status-card.bullish h2,
body.atlas-v32 .market-status-card.bullish
  #market-status-title {
  color: #2bd66b !important;
  text-shadow: 0 0 24px rgba(34, 197, 94, 0.16);
}

body.atlas-v32 .market-status-card.bullish
  .market-bias-badge {
  color: #31dd72 !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  background: rgba(34, 197, 94, 0.11) !important;
}

body.atlas-v32 .market-status-card.mixed {
  border-color: rgba(255, 216, 74, 0.36) !important;
  background:
    linear-gradient(
      145deg,
      rgba(52, 40, 9, 0.97),
      rgba(24, 22, 13, 0.99) 48%,
      rgba(5, 13, 19, 0.995)
    ) !important;
}

body.atlas-v32 .market-status-card.mixed::before {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 216, 74, 0.2),
      transparent 42%
    );
}

body.atlas-v32 .market-status-card.mixed::after {
  background: rgba(255, 216, 74, 0.58);
}

body.atlas-v32 .market-status-card.mixed h2,
body.atlas-v32 .market-status-card.mixed
  #market-status-title {
  color: var(--mission-gold) !important;
}

body.atlas-v32 .market-status-card
  .market-strength {
  position: relative;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(2, 12, 17, 0.74);
  backdrop-filter: blur(12px);
}

body.atlas-v32 .market-status-card
  .strength-track {
  position: relative;
  overflow: hidden;
}

body.atlas-v32 .market-status-card
  .strength-fill {
  position: relative;
  overflow: hidden;
}

body.atlas-v32 .market-status-card
  .strength-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      transparent 15%,
      rgba(255, 255, 255, 0.5) 48%,
      transparent 80%
    );
  transform: translateX(-140%);
  animation: atlas-strength-scan 3.2s ease-in-out infinite;
}

body.atlas-v32 .online-dot {
  animation: atlas-online-pulse 2.2s ease-in-out infinite;
}

body.atlas-v32 .refresh-button:not(:disabled) {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

body.atlas-v32 .refresh-button:not(:disabled):active {
  transform: scale(0.96);
}

@keyframes atlas-market-pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.14;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.27;
  }
}

@keyframes atlas-strength-scan {
  0% {
    transform: translateX(-140%);
  }

  55%,
  100% {
    transform: translateX(140%);
  }
}

@keyframes atlas-online-pulse {
  0%,
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 17px rgba(34, 197, 94, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.atlas-v32 .market-status-card::after,
  body.atlas-v32 .market-status-card
    .strength-fill::after,
  body.atlas-v32 .online-dot {
    animation: none !important;
  }
}

/* ATLAS V32.2 MARKET STATE END */

/* ATLAS V33.1 COMMAND CENTRE START */

.ai-market-pulse,
.scanner-operations-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 17px;
  border-radius: 24px;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ai-market-pulse {
  isolation: isolate;
  border: 1px solid rgba(255, 216, 74, 0.34);
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 216, 74, 0.19),
      transparent 37%
    ),
    radial-gradient(
      circle at 96% 10%,
      rgba(56, 189, 248, 0.13),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(36, 29, 10, 0.99),
      rgba(7, 25, 34, 0.99) 52%,
      rgba(4, 12, 18, 1)
    );
}

.ai-market-pulse::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -85px;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 216, 74, 0.22);
  filter: blur(30px);
  animation: atlas-ai-orbit 5s ease-in-out infinite;
}

.ai-pulse-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-pulse-heading h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.ai-live-badge,
.scanner-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 1000;
}

.ai-live-badge {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.3);
  background: rgba(255, 216, 74, 0.09);
}

.ai-live-dot,
.scanner-online-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mission-green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
  animation: atlas-ai-live-pulse 1.8s ease-in-out infinite;
}

.ai-pulse-grid,
.scanner-operations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 15px;
}

.ai-pulse-metric,
.scanner-operations-grid article {
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 17px;
  background:
    linear-gradient(
      180deg,
      rgba(13, 49, 64, 0.88),
      rgba(5, 18, 27, 0.97)
    );
}

.ai-pulse-metric span,
.scanner-operations-grid article span {
  display: block;
  margin-bottom: 8px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-pulse-metric strong,
.scanner-operations-grid article strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 19px;
  font-weight: 1000;
  line-height: 1.05;
}

#ai-pulse-bias.bearish,
#ai-pulse-risk.high {
  color: var(--mission-red);
}

#ai-pulse-bias.bullish,
#ai-pulse-risk.low,
#ai-pulse-conditions.excellent,
#ai-pulse-conditions.good {
  color: var(--mission-green);
}

#ai-pulse-bias.mixed,
#ai-pulse-risk.medium,
#ai-pulse-conditions.caution {
  color: var(--mission-gold);
}

#ai-pulse-conditions.avoid {
  color: var(--mission-red);
}

.ai-recommendation {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 74, 0.17);
  border-radius: 17px;
  background: rgba(3, 14, 20, 0.73);
  backdrop-filter: blur(12px);
}

.ai-recommendation span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-gold);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.ai-recommendation p {
  margin: 0 !important;
  color: #e7edf4 !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.55;
}

.ai-confidence-track,
.scanner-progress-track {
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.ai-confidence-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--mission-red),
      var(--mission-gold),
      var(--mission-green)
    );
  transition: width 450ms ease;
}

.scanner-operations-card {
  border: 1px solid rgba(56, 189, 248, 0.23);
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(56, 189, 248, 0.14),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(7, 34, 45, 0.98),
      rgba(4, 13, 19, 0.995)
    );
}

.scanner-online-badge {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.27);
  background: rgba(34, 197, 94, 0.08);
}

.scanner-operations-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scanner-operations-grid article strong {
  font-size: 18px;
}

#scanner-status,
#ai-engine-status {
  color: var(--mission-green);
}

.scanner-progress-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--mission-blue),
      var(--mission-gold),
      transparent
    );
  animation: atlas-scanner-sweep 2.6s linear infinite;
}

@keyframes atlas-ai-orbit {
  0%,
  100% {
    transform: scale(0.86) translate(0, 0);
    opacity: 0.16;
  }

  50% {
    transform: scale(1.12) translate(-12px, 12px);
    opacity: 0.31;
  }
}

@keyframes atlas-ai-live-pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes atlas-scanner-sweep {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-market-pulse::after,
  .ai-live-dot,
  .scanner-online-badge span,
  .scanner-progress-fill {
    animation: none !important;
  }
}

@media (max-width: 420px) {
  .ai-market-pulse,
  .scanner-operations-card {
    padding: 15px;
    border-radius: 22px;
  }

  .ai-pulse-heading h2 {
    font-size: 24px;
  }
}

/* ATLAS V33.1 COMMAND CENTRE END */


/* ATLAS V33.4 TRADE DECISION START */

.trade-decision-centre {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 74, 0.16);
  border-radius: 19px;
  background:
    linear-gradient(
      180deg,
      rgba(4, 18, 26, 0.88),
      rgba(3, 11, 17, 0.97)
    );
}

.verdict-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.decision-label,
.probability-block span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.atlas-verdict {
  display: inline-block;
  font-size: 25px;
  font-weight: 1000;
  line-height: 1;
}

.atlas-verdict.strong-buy,
.atlas-verdict.buy {
  color: var(--mission-green);
  text-shadow:
    0 0 22px rgba(34, 197, 94, 0.22);
}

.atlas-verdict.strong-sell,
.atlas-verdict.sell {
  color: var(--mission-red);
  text-shadow:
    0 0 22px rgba(255, 85, 112, 0.22);
}

.atlas-verdict.wait {
  color: var(--mission-gold);
}

.atlas-verdict.avoid {
  color: #fb7185;
}

.probability-block {
  min-width: 85px;
  padding: 10px 12px;
  border: 1px solid rgba(56, 189, 248, 0.17);
  border-radius: 15px;
  text-align: right;
  background: rgba(56, 189, 248, 0.05);
}

.probability-block strong {
  color: var(--mission-white);
  font-size: 22px;
  font-weight: 1000;
}

.atlas-verdict-copy {
  margin: 12px 0 0 !important;
  color: #d9e2ec !important;
  font-size: 11px !important;
  font-weight: 760;
  line-height: 1.55;
}

.decision-meter {
  margin-top: 13px;
}

.decision-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.decision-meter span {
  color: var(--mission-muted);
  font-size: 10px;
  font-weight: 900;
}

.decision-meter strong {
  color: var(--mission-white);
  font-size: 11px;
  font-weight: 1000;
}

.decision-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.decision-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--mission-red),
      var(--mission-gold),
      var(--mission-green)
    );
  transition: width 400ms ease;
}

.trade-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.trade-plan-grid article {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 15px;
  background: rgba(8, 29, 39, 0.72);
}

.trade-plan-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.trade-plan-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 16px;
  font-weight: 1000;
}

.decision-checklist {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  background: rgba(2, 12, 18, 0.64);
}

.decision-checklist-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.decision-checklist-heading span {
  color: var(--mission-muted);
  font-size: 10px;
  font-weight: 900;
}

.decision-checklist-heading strong {
  color: var(--mission-gold);
  font-size: 11px;
  font-weight: 1000;
}

#confirmation-items {
  display: grid;
  gap: 7px;
}

#confirmation-items article {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 7px;
}

#confirmation-items p {
  margin: 0 !important;
  color: #d5dee8 !important;
  font-size: 10px !important;
  line-height: 1.4;
}

.check-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 1000;
}

.check-icon.pass {
  color: #052e16;
  background: var(--mission-green);
}

.check-icon.fail {
  color: #450a0a;
  background: var(--mission-red);
}

.check-icon.pending {
  color: #211600;
  background: var(--mission-gold);
}

/* ATLAS V33.4 TRADE DECISION END */

/* ATLAS V33.5 DECISION CONSISTENCY START */

.decision-setup-identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  padding: 7px 10px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 999px;
  color: #bdeafe;
  background: rgba(56, 189, 248, 0.07);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.decision-setup-identity::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--mission-blue);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* ATLAS V33.5 DECISION CONSISTENCY END */

/* ATLAS V34.1 EXECUTIVE BRIEF START */

.executive-brief-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(167, 139, 250, 0.17),
      transparent 38%
    ),
    radial-gradient(
      circle at 8% 0%,
      rgba(56, 189, 248, 0.13),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(18, 17, 48, 0.98),
      rgba(6, 28, 38, 0.99) 54%,
      rgba(4, 12, 18, 1)
    );
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.executive-brief-card::after {
  content: "";
  position: absolute;
  top: -95px;
  right: -85px;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.2);
  filter: blur(28px);
  animation: atlas-executive-pulse 5.5s ease-in-out infinite;
}

.executive-brief-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.executive-brief-heading h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.executive-brief-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.05em;
}

.executive-brief-status.bullish,
.executive-brief-status.ready {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.09);
}

.executive-brief-status.bearish {
  color: var(--mission-red);
  border: 1px solid rgba(255, 85, 112, 0.3);
  background: rgba(255, 85, 112, 0.09);
}

.executive-brief-status.mixed,
.executive-brief-status.analysing {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.3);
  background: rgba(255, 216, 74, 0.09);
}

.executive-brief-summary {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 17px;
  color: #e7edf5;
  background: rgba(4, 15, 24, 0.72);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.58;
}

.executive-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.executive-brief-grid article {
  min-width: 0;
  min-height: 72px;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(15, 43, 57, 0.78),
      rgba(5, 18, 27, 0.94)
    );
}

.executive-brief-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.executive-brief-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 16px;
  font-weight: 1000;
  line-height: 1.1;
}

#executive-action.buy,
#executive-action.strong-buy {
  color: var(--mission-green);
}

#executive-action.sell,
#executive-action.strong-sell {
  color: var(--mission-red);
}

#executive-action.wait {
  color: var(--mission-gold);
}

#executive-action.avoid {
  color: #fb7185;
}

.executive-evidence {
  margin-top: 11px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  background: rgba(2, 12, 18, 0.61);
}

.executive-evidence-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.executive-evidence-heading span {
  color: var(--mission-muted);
  font-size: 10px;
  font-weight: 900;
}

.executive-evidence-heading strong {
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 1000;
}

#executive-evidence-items {
  display: grid;
  gap: 8px;
}

#executive-evidence-items article {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 8px;
}

.executive-evidence-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 1000;
}

.executive-evidence-icon.positive {
  color: #052e16;
  background: var(--mission-green);
}

.executive-evidence-icon.negative {
  color: #450a0a;
  background: var(--mission-red);
}

.executive-evidence-icon.neutral {
  color: #211600;
  background: var(--mission-gold);
}

#executive-evidence-items p {
  margin: 0 !important;
  color: #d6dee8 !important;
  font-size: 10px !important;
  line-height: 1.45;
}

.executive-next-step {
  margin-top: 11px;
  padding: 12px;
  border: 1px solid rgba(255, 216, 74, 0.15);
  border-radius: 16px;
  background: rgba(255, 216, 74, 0.045);
}

.executive-next-step span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-gold);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.07em;
}

.executive-next-step p {
  margin: 0 !important;
  color: #e4e9ef !important;
  font-size: 10px !important;
  font-weight: 760;
  line-height: 1.5;
}

@keyframes atlas-executive-pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.14;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.29;
  }
}

@media (prefers-reduced-motion: reduce) {
  .executive-brief-card::after {
    animation: none !important;
  }
}

@media (max-width: 420px) {
  .executive-brief-card {
    padding: 15px;
    border-radius: 22px;
  }

  .executive-brief-heading h2 {
    font-size: 24px;
  }
}

/* ATLAS V34.1 EXECUTIVE BRIEF END */

/* ATLAS V34.2 COLLAPSIBLE SECTIONS START */

#mission-control {
  padding-bottom: 190px;
}

.atlas-collapse-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px -4px 12px;
  padding: 7px 7px 9px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.atlas-collapse-title {
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atlas-collapse-button {
  min-width: 70px;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 216, 74, 0.18);
  border-radius: 999px;
  color: var(--mission-gold);
  background: rgba(255, 216, 74, 0.06);
  box-shadow: none;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
}

.atlas-collapse-button:active {
  transform: scale(0.96);
}

.atlas-collapse-chevron {
  display: inline-grid;
  place-items: center;
  min-width: 12px;
  font-size: 14px;
  line-height: 0.8;
}

.atlas-collapsible-content {
  display: block;
}

.atlas-section-collapsed {
  padding-bottom: 11px !important;
}

.atlas-section-collapsed
  .atlas-collapse-control {
  margin-bottom: 0;
  border-bottom-color: transparent;
}

.atlas-section-collapsed
  .atlas-collapsible-content {
  display: none;
}

.atlas-section-collapsed::after {
  animation: none !important;
  opacity: 0.08 !important;
}

.atlas-section-collapsed
  .atlas-collapse-title {
  color: #c5cfdb;
}

@media (max-width: 420px) {
  #mission-control {
    padding-bottom: 200px;
  }

  .atlas-collapse-control {
    margin-right: -2px;
    margin-left: -2px;
  }
}

/* ATLAS V34.2 COLLAPSIBLE SECTIONS END */

/* ATLAS V35.1 TRADE COMMANDER START */

.ai-trade-commander {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(167, 139, 250, 0.12),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(12, 21, 42, 0.91),
      rgba(3, 12, 19, 0.98)
    );
}

.commander-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.commander-heading h3 {
  margin: 7px 0 0;
  color: var(--mission-white);
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.1;
}

.commander-action {
  flex: 0 0 auto;
  min-width: 70px;
  padding: 8px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.05em;
}

.commander-action.buy,
.commander-action.strong-buy {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.09);
}

.commander-action.sell,
.commander-action.strong-sell {
  color: var(--mission-red);
  border: 1px solid rgba(255, 85, 112, 0.3);
  background: rgba(255, 85, 112, 0.09);
}

.commander-action.wait {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.3);
  background: rgba(255, 216, 74, 0.09);
}

.commander-action.avoid {
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.09);
}

.commander-assessment {
  margin: 13px 0 0 !important;
  padding: 12px;
  border: 1px solid rgba(167, 139, 250, 0.13);
  border-radius: 15px;
  color: #e3e8ef !important;
  background: rgba(2, 12, 19, 0.66);
  font-size: 11px !important;
  font-weight: 780;
  line-height: 1.55;
}

.commander-grid {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.commander-grid article {
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 15px;
  background: rgba(7, 27, 37, 0.67);
}

.commander-item-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commander-item-heading strong {
  color: var(--mission-white);
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.commander-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 1000;
}

.commander-icon.sees {
  color: #082f49;
  background: var(--mission-blue);
}

.commander-icon.expects {
  color: #211600;
  background: var(--mission-gold);
}

.commander-icon.invalidates {
  color: #450a0a;
  background: var(--mission-red);
}

.commander-icon.upgrades {
  color: #052e16;
  background: var(--mission-green);
}

.commander-grid p {
  margin: 8px 0 0 28px !important;
  color: #d3dce7 !important;
  font-size: 10px !important;
  line-height: 1.5;
}

.commander-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.commander-footer > div {
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  background: rgba(2, 12, 18, 0.61);
}

.commander-footer span {
  display: block;
  margin-bottom: 6px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.commander-footer strong {
  display: block;
  color: var(--mission-white);
  font-size: 13px;
  font-weight: 1000;
}

/* ATLAS V35.1 TRADE COMMANDER END */

/* ATLAS V36.1 CAPITAL ALLOCATION START */

.capital-allocation-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(45, 212, 191, 0.15),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(7, 37, 41, 0.98),
      rgba(4, 13, 19, 0.995)
    );
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.allocation-risk-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
}

.allocation-risk-badge.low {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.09);
}

.allocation-risk-badge.medium,
.allocation-risk-badge.analysing {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.3);
  background: rgba(255, 216, 74, 0.09);
}

.allocation-risk-badge.high {
  color: var(--mission-red);
  border: 1px solid rgba(255, 85, 112, 0.3);
  background: rgba(255, 85, 112, 0.09);
}

.allocation-summary {
  margin: 12px 0 0 !important;
  color: #dce6ed !important;
  font-size: 11px !important;
  line-height: 1.55;
}

.allocation-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.allocation-overview-grid article {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 15px;
  background: rgba(5, 25, 33, 0.72);
}

.allocation-overview-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.allocation-overview-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 17px;
  font-weight: 1000;
}

.allocation-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.allocation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 16px;
  background: rgba(3, 15, 22, 0.7);
}

.allocation-row-copy {
  min-width: 0;
}

.allocation-row-copy strong {
  display: block;
  color: var(--mission-white);
  font-size: 14px;
  font-weight: 1000;
}

.allocation-row-copy span {
  display: block;
  margin-top: 5px;
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
}

.allocation-bar {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.allocation-bar-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--mission-blue),
      var(--mission-gold),
      var(--mission-green)
    );
}

.allocation-percentage {
  text-align: right;
}

.allocation-percentage strong {
  display: block;
  color: var(--mission-green);
  font-size: 18px;
  font-weight: 1000;
}

.allocation-percentage span {
  display: block;
  margin-top: 5px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 900;
}

.allocation-guidance {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.14);
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.045);
}

.allocation-guidance span {
  display: block;
  margin-bottom: 7px;
  color: #5eead4;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.06em;
}

.allocation-guidance p {
  margin: 0 !important;
  color: #dde7ed !important;
  font-size: 10px !important;
  line-height: 1.5;
}

/* ATLAS V36.1 CAPITAL ALLOCATION END */

/* ATLAS V36.2 PROP RISK MANAGER START */

.prop-risk-manager-card {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(251, 191, 36, 0.14),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(40, 29, 8, 0.97),
      rgba(4, 13, 19, 0.995)
    );
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.prop-risk-status,
.prop-approval-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
}

.prop-risk-status.safe,
.prop-approval-badge.approved {
  color: var(--mission-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.09);
}

.prop-risk-status.caution,
.prop-risk-status.analysing,
.prop-approval-badge.reduced,
.prop-approval-badge.analysing {
  color: var(--mission-gold);
  border: 1px solid rgba(255, 216, 74, 0.3);
  background: rgba(255, 216, 74, 0.09);
}

.prop-risk-status.danger,
.prop-approval-badge.blocked {
  color: var(--mission-red);
  border: 1px solid rgba(255, 85, 112, 0.3);
  background: rgba(255, 85, 112, 0.09);
}

.prop-risk-intro {
  margin: 11px 0 0 !important;
  color: #dce4eb !important;
  font-size: 11px !important;
  line-height: 1.5;
}

.prop-risk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}

.prop-field {
  display: block;
  min-width: 0;
}

.prop-field-wide,
.save-prop-profile {
  grid-column: 1 / -1;
}

.prop-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.prop-field input,
.prop-field select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 13px;
  color: var(--mission-white);
  background: rgba(4, 18, 26, 0.92);
  font-size: 13px;
  font-weight: 850;
  outline: none;
}

.prop-field input:focus,
.prop-field select:focus {
  border-color: rgba(255, 216, 74, 0.48);
}

.save-prop-profile {
  min-height: 43px;
  margin-top: 2px;
  border: 0;
  border-radius: 14px;
  color: #211600;
  background:
    linear-gradient(
      135deg,
      var(--mission-gold),
      var(--mission-orange)
    );
  font-size: 11px;
  font-weight: 1000;
}

.prop-risk-overview,
.prop-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.prop-risk-overview article,
.prop-plan-grid article {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 15px;
  background: rgba(4, 20, 28, 0.75);
}

.prop-risk-overview span,
.prop-plan-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.prop-risk-overview strong,
.prop-plan-grid strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 16px;
  font-weight: 1000;
}

.prop-drawdown-meter {
  margin-top: 10px;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 15px;
  background: rgba(2, 12, 18, 0.62);
}

.prop-drawdown-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.prop-drawdown-meter span {
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
}

.prop-drawdown-meter strong {
  color: var(--mission-white);
  font-size: 10px;
  font-weight: 1000;
}

.prop-meter-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.prop-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--mission-green),
      var(--mission-gold),
      var(--mission-red)
    );
  transition: width 300ms ease;
}

.prop-position-plan {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 216, 74, 0.14);
  border-radius: 17px;
  background: rgba(3, 14, 21, 0.71);
}

.prop-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.prop-plan-heading > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
}

.prop-plan-heading > div > strong {
  color: var(--mission-white);
  font-size: 18px;
  font-weight: 1000;
}

.prop-approval-copy {
  margin: 11px 0 0 !important;
  color: #dce5ec !important;
  font-size: 10px !important;
  font-weight: 760;
  line-height: 1.5;
}

/* ATLAS V36.2 PROP RISK MANAGER END */

/* ATLAS V36.3 ACTIVE TRADE TRACKER START */

.active-trade-tracker-card {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(96, 165, 250, 0.15),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgba(8, 31, 52, 0.98),
      rgba(4, 13, 19, 0.995)
    );
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trade-tracker-count,
.tracker-account-label {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.08);
  font-size: 9px;
  font-weight: 1000;
}

.trade-tracker-intro {
  margin: 11px 0 0 !important;
  color: #dce5ec !important;
  font-size: 11px !important;
  line-height: 1.5;
}

.trade-tracker-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.trade-tracker-summary article {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 15px;
  background: rgba(4, 20, 29, 0.74);
}

.trade-tracker-summary span {
  display: block;
  margin-bottom: 7px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.trade-tracker-summary strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 16px;
  font-weight: 1000;
}

.trade-entry-panel {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 17px;
  background: rgba(3, 14, 22, 0.73);
}

.trade-entry-heading,
.trade-ledger-heading,
.closed-trades-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.trade-entry-heading > div > span,
.trade-ledger-heading > span,
.closed-trades-heading > span {
  display: block;
  margin-bottom: 6px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.trade-entry-heading > div > strong {
  color: var(--mission-white);
  font-size: 18px;
  font-weight: 1000;
}

.trade-entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.trade-entry-grid label span {
  display: block;
  margin-bottom: 6px;
  color: var(--mission-muted);
  font-size: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.trade-entry-grid input {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 13px;
  color: var(--mission-white);
  background: rgba(4, 18, 26, 0.92);
  font-size: 13px;
  font-weight: 850;
  outline: none;
}

.add-active-trade {
  width: 100%;
  min-height: 44px;
  margin-top: 11px;
  border: 0;
  border-radius: 14px;
  color: #082f49;
  background:
    linear-gradient(
      135deg,
      #7dd3fc,
      #60a5fa
    );
  font-size: 11px;
  font-weight: 1000;
}

.trade-entry-message {
  min-height: 15px;
  margin: 8px 0 0 !important;
  color: var(--mission-gold) !important;
  font-size: 9px !important;
  text-align: center;
}

.trade-ledger-heading,
.closed-trades-heading {
  align-items: center;
  margin-top: 14px;
}

.trade-ledger-heading button {
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  color: var(--mission-muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 8px;
  font-weight: 950;
}

.active-trade-list,
.closed-trade-list {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.tracked-trade-card {
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.11);
  border-radius: 16px;
  background: rgba(2, 13, 20, 0.75);
}

.tracked-trade-card.closed {
  opacity: 0.78;
}

.tracked-trade-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.tracked-trade-header strong {
  color: var(--mission-white);
  font-size: 14px;
  font-weight: 1000;
}

.tracked-trade-header span {
  color: var(--mission-muted);
  font-size: 9px;
  font-weight: 900;
}

.tracked-trade-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.tracked-trade-metrics div {
  padding: 9px;
  border: 1px solid rgba(148, 163, 184, 0.09);
  border-radius: 12px;
  background: rgba(8, 29, 39, 0.56);
}

.tracked-trade-metrics span {
  display: block;
  margin-bottom: 5px;
  color: var(--mission-muted);
  font-size: 7px;
  font-weight: 950;
  text-transform: uppercase;
}

.tracked-trade-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mission-white);
  font-size: 12px;
  font-weight: 1000;
}

.trade-close-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.trade-close-controls button {
  min-height: 34px;
  padding: 7px 3px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 11px;
  color: var(--mission-white);
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
  font-weight: 1000;
}

.trade-close-controls button[data-outcome="win"] {
  color: var(--mission-green);
}

.trade-close-controls button[data-outcome="loss"] {
  color: var(--mission-red);
}

.trade-close-controls button[data-outcome="breakeven"] {
  color: var(--mission-gold);
}

/* ATLAS V36.3 ACTIVE TRADE TRACKER END */
