/* FE15 broker screens. Scoped to portfolio detail when data-v2-portfolio-broker is on. */
.bk-venue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 12px;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
}
.bk-venue i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.bk-venue.is-live {
  color: #d4a017;
  border-color: rgba(212, 160, 23, 0.45);
}
.bk-venue.is-live i {
  background: #d4a017;
}
.bk-acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bk-acct-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.bk-acct-left b {
  color: var(--text-primary);
  font-weight: 600;
}
.bk-sync {
  font-size: 12px;
  color: var(--text-muted);
}
.bk-sync .ok { color: #4caf7d; }
.bk-sync .bad { color: #d4a017; }
.bk-kill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.bk-alert {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bk-alert.warn {
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.35);
  color: #e9c46a;
}
.bk-alert.kill {
  background: rgba(255, 23, 68, 0.07);
  border: 1px solid rgba(255, 23, 68, 0.35);
  color: #ff8a9a;
}
.bk-hide { display: none !important; }
.bk-note {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 4px 0;
}
.st-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-right: 6px;
  vertical-align: middle;
}
.src-tag {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.src-tag.manual { color: var(--text-muted); }
.src-tag.out {
  color: var(--text-muted);
  font-style: italic;
}
tr.bk-out td { opacity: 0.55; }
.bk-lock { opacity: 0.5; font-size: 12px; }
.oo-st {
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}
.oo-work {
  background: rgba(0, 229, 255, 0.1);
  color: #5fe6f5;
}
.oo-part {
  background: rgba(212, 160, 23, 0.14);
  color: #e0b437;
}
.oo-unk {
  background: rgba(255, 255, 255, 0.08);
  color: #9aa4ae;
}
.oo-wait {
  background: rgba(255, 92, 122, 0.12);
  color: #ff8a9a;
}
.oo-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 4px;
  width: 70px;
  margin-left: auto;
}
.oo-bar i {
  display: block;
  height: 100%;
  background: #e0b437;
}
.oo-tl {
  display: flex;
  gap: 0;
  padding: 10px 4px 6px;
  flex-wrap: wrap;
}
.oo-tl div {
  flex: 1;
  min-width: 120px;
  position: relative;
  padding: 14px 8px 0 0;
  font-size: 12px;
  color: #8b949e;
}
.oo-tl div::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.oo-tl div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3038;
  border: 2px solid #444;
}
.oo-tl div.done::before { background: rgba(0, 229, 255, 0.5); }
.oo-tl div.done::after {
  background: #00e5ff;
  border-color: #00e5ff;
}
.oo-tl div.now::after {
  background: #e0b437;
  border-color: #e0b437;
}
.oo-tl b {
  display: block;
  color: #e6edf3;
  font-size: 12px;
  font-weight: 600;
}
tr.oo-row { cursor: pointer; }
.bk-icon-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.bk-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.bk-icon-btn.danger { color: #ff5c7a; }
.bkm-ov {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(3px);
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 16px;
  overflow: auto;
}
.bkm {
  width: 100%;
  max-width: 520px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--glow-md);
}
.bkm-h { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bkm-p { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.45; }
.bkm-src { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.bkm-steps { display: flex; gap: 6px; margin: 14px 0 18px; flex-wrap: wrap; }
.bkm-steps span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.bkm-steps span.on {
  border-color: var(--border-active);
  color: var(--neon-cyan);
}
.bkm-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.bkm-list { margin: 8px 0 14px; padding-left: 0; list-style: none; font-size: 13px; color: var(--text-secondary); }
.bkm-list li { margin: 6px 0; }
.bkm-chk {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  margin: 12px 0;
  color: var(--text-secondary);
}
