/* Barra inferior — Cortex Data + Corretora (substitui pills CHART/GCD/Network) */
.bb-item.bb-cortex-data .bb-label,
.bb-item.bb-broker-env .bb-label,
.bb-item.bb-latency .bb-label,
.bb-item.bb-fps .bb-label {
  letter-spacing: 1px;
  text-transform: none;
  color: var(--text-dim);
  font-size: 14.5px;
}

.bb-item.bb-cortex-data .bb-val,
.bb-item.bb-broker-env .bb-val,
.bb-item.bb-latency .bb-val,
.bb-item.bb-fps .bb-val {
  font-size: 17.5px;
  color: var(--cyan);
  font-family: var(--mono);
  white-space: nowrap;
}

.bb-item.bb-cortex-data .bb-val[data-tone="ok"],
.bb-item.bb-broker-env .bb-val[data-tone="ok"] {
  color: var(--green);
}

.bb-item.bb-cortex-data .bb-val[data-tone="warn"],
.bb-item.bb-broker-env .bb-val[data-tone="warn"] {
  color: var(--amber);
}

.bb-item.bb-cortex-data .bb-val[data-tone="bad"],
.bb-item.bb-broker-env .bb-val[data-tone="bad"] {
  color: var(--red);
}

.bb-item.bb-cortex-data .bb-val[data-tone="dim"],
.bb-item.bb-broker-env .bb-val[data-tone="dim"] {
  color: var(--text-dim);
}

body.view-geral-active .bb-item.bb-cortex-data .bb-val[data-tone="ok"],
body.view-geral-active .bb-item.bb-broker-env .bb-val[data-tone="ok"] {
  color: var(--inst-green, var(--green));
}

body.view-geral-active .bb-item.bb-cortex-data .bb-val,
body.view-geral-active .bb-item.bb-broker-env .bb-val {
  color: var(--inst-cyan, var(--cyan));
}

@media (max-width: 1180px) {
  .bb-item.bb-broker-env .bb-val {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 980px) {
  .bb-item.bb-cortex-data {
    display: none;
  }
}
