/* ============================================================
   ARIA COMMAND CENTER — MERCURY REVENUE + MISSIONS
   ============================================================ */

/* ---- MISSIONS HUD ---- */
#missions-panel .missions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mission-card {
  padding: 10px 12px;
  background: rgba(10, 20, 45, 0.6);
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-left: 2px solid;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.mission-card:hover {
  background: rgba(10, 20, 45, 0.9);
  transform: translateX(2px);
}

.mission-card.priority-critical { border-left-color: var(--red); }
.mission-card.priority-progress { border-left-color: var(--amber); }
.mission-card.priority-todo { border-left-color: var(--cyan); }
.mission-card.priority-done { border-left-color: var(--green); opacity: 0.5; }

.mission-title {
  font-size: 11px;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.mission-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mission-tag {
  font-family: var(--font-hud);
  font-size: 7px;
  letter-spacing: 0.2em;
  padding: 1px 6px;
  border-radius: 1px;
  text-transform: uppercase;
}

.tag-critical { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255, 51, 102, 0.3); }
.tag-progress { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255, 183, 0, 0.3); }
.tag-todo { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--border-glow); }
.tag-done { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0, 255, 136, 0.3); }

.mission-xp {
  font-family: var(--font-hud);
  font-size: 8px;
  color: var(--amber);
}

/* ---- MERCURY REVENUE TRACKER ---- */
#mercury-panel {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

#mercury-panel::before {
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  opacity: 0.5;
}

#mercury-panel .panel-title::before {
  background: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.mercury-mrr {
  text-align: center;
  padding: 14px 0 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  margin-bottom: 12px;
}

.mrr-label {
  font-family: var(--font-hud);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(255, 215, 0, 0.6);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mrr-value {
  font-family: var(--font-hud);
  font-size: 28px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.05em;
  line-height: 1;
}

.mrr-target {
  font-size: 10px;
  color: rgba(255, 215, 0, 0.5);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* Progress to target */
.mercury-progress-bar {
  height: 4px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.mercury-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, rgba(255, 183, 0, 0.6));
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  border-radius: 2px;
  transition: width 1s ease;
}

/* Product table */
.mercury-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(255, 215, 0, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.08);
  border-radius: 2px;
}

.product-name {
  font-size: 10px;
  color: var(--text-dim);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 8px;
}

.product-platform {
  font-family: var(--font-hud);
  font-size: 8px;
  color: rgba(255, 215, 0, 0.5);
  letter-spacing: 0.1em;
  margin-right: 8px;
}

.product-price {
  font-family: var(--font-hud);
  font-size: 10px;
  color: #ffd700;
  letter-spacing: 0.05em;
}

.product-status {
  margin-left: 8px;
  font-size: 8px;
}

.status-live { color: var(--green); }
.status-build { color: var(--amber); }
.status-idea { color: var(--text-dim); }

/* Mercury quickfire actions */
.mercury-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}

.mercury-action-btn {
  padding: 7px 8px;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: rgba(255, 215, 0, 0.8);
  font-family: var(--font-hud);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  text-align: center;
}

.mercury-action-btn:hover {
  background: rgba(255, 215, 0, 0.12);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

/* ---- INTEL FEED (right column) ---- */
#intel-panel .intel-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}

.intel-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 245, 255, 0.05);
  font-size: 10px;
  line-height: 1.4;
}

.intel-time {
  font-family: var(--font-hud);
  font-size: 8px;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.05em;
  padding-top: 1px;
  min-width: 36px;
}

.intel-text { color: var(--text-dim); }
.intel-text strong { color: var(--text-primary); }
.intel-text .hi { color: var(--cyan); }

/* ---- LAST OUTPUT PANELS ---- */
.last-output-panel {
  padding: 12px;
  background: rgba(10, 20, 45, 0.6);
  border: 1px solid rgba(0, 245, 255, 0.08);
  border-radius: 2px;
  margin-bottom: 8px;
}

.last-output-label {
  font-family: var(--font-hud);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.last-output-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 245, 255, 0.1);
}

.last-output-text {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ---- QUICKFIRE BUTTONS (center top) ---- */
#quickfire-panel {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  flex-wrap: wrap;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-glow);
  flex-shrink: 0;
}

.qf-btn {
  flex: 1;
  min-width: 100px;
  padding: 8px 12px;
  background: var(--bg-panel-light);
  border: 1px solid var(--border-glow);
  color: var(--text-dim);
  font-family: var(--font-hud);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.qf-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.qf-btn.fired {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
  animation: qf-fired 0.5s ease;
}

@keyframes qf-fired {
  0% { transform: scale(1); }
  50% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.qf-btn .qf-icon { font-size: 14px; }

/* ---- PRISM LAST IMAGE ---- */
#prism-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(10, 20, 45, 0.6);
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-hud);
  letter-spacing: 0.15em;
}

#prism-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- REVENUE PROJECTION ---- */
.revenue-projection {
  padding: 10px 0;
}

.rev-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 245, 255, 0.05);
  font-size: 10px;
}

.rev-row:last-child { border-bottom: none; }

.rev-label { color: var(--text-dim); }
.rev-val { font-family: var(--font-hud); font-size: 11px; }
.rev-val.cyan { color: var(--cyan); }
.rev-val.gold { color: #ffd700; }
.rev-val.dim { color: var(--text-dim); }

.north-star-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 0;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 183, 0, 0.2);
}

.north-star-label {
  font-family: var(--font-hud);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

.north-star-val {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  text-shadow: 0 0 10px var(--amber-glow);
  letter-spacing: 0.05em;
}
