/*
 JARVIS STEP 10 ? UNIFIED PROFESSIONAL WORKSTATION
 Rev D ? Continuous Position Intelligence Bridge

 Presentation only.
 No execution authority.
 No order submission authority.
 No broker mutation authority.
*/

#jarvisPositionIntelligenceBridge {
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(10,14,20,.78);
  overflow: hidden;
}

#jarvisPositionIntelligenceBridge[hidden] {
  display: none !important;
}

.step10-pi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.step10-pi-head-copy {
  min-width: 0;
}

.step10-pi-eyebrow {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .58;
}

.step10-pi-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.step10-pi-status {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
  opacity: .72;
}

.step10-pi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.step10-pi-refresh {
  appearance: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: inherit;
  padding: 6px 9px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.step10-pi-refresh:hover {
  background: rgba(255,255,255,.075);
}

.step10-pi-body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.step10-pi-empty {
  padding: 18px 12px;
  text-align: center;
  opacity: .58;
  font-size: 12px;
}

.step10-pi-card {
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  padding: 11px 12px;
}

.step10-pi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.step10-pi-symbol {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.step10-pi-symbol strong {
  font-size: 14px;
}

.step10-pi-symbol small {
  font-size: 10px;
  opacity: .55;
}

.step10-pi-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  border: 1px solid currentColor;
}

.step10-pi-action[data-action="HOLD"] {
  opacity: .78;
}

.step10-pi-action[data-action="ADD"] {
  opacity: .96;
}

.step10-pi-action[data-action="REDUCE"] {
  opacity: .90;
}

.step10-pi-action[data-action="EXIT"] {
  opacity: 1;
  font-weight: 900;
}

.step10-pi-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  margin-top: 9px;
}

.step10-pi-metric {
  min-width: 0;
  border-radius: 8px;
  padding: 7px 8px;
  background: rgba(255,255,255,.025);
}

.step10-pi-metric span {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: .06em;
  opacity: .48;
}

.step10-pi-metric b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  white-space: nowrap;
}

.step10-pi-reason {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.45;
  opacity: .76;
}

.step10-pi-watch {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.4;
  opacity: .62;
}

.step10-pi-advisory {
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(255,255,255,.055);
  font-size: 9px;
  letter-spacing: .03em;
  opacity: .42;
}

@media (max-width: 1050px) {
  .step10-pi-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 620px) {
  .step10-pi-grid {
    grid-template-columns: 1fr;
  }

  .step10-pi-head {
    align-items: flex-start;
  }
}
