.brief-viz {
  --bv-green: #27b884;
  --bv-red: #e9777c;
  box-sizing: border-box;
  margin: 22px 0 28px;
  padding: 22px;
  border: 1px solid var(--border, rgba(128, 128, 140, 0.22));
  border-radius: 14px;
  background: var(--bg-card, rgba(128, 128, 140, 0.06));
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  min-width: 0;
  color: var(--text-primary);
}
.bv-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 30px;
}
.bv-overview .brief-viz {
  margin: 0;
  padding: 20px;
}
.bv-eyebrow {
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-body);
  margin-bottom: 16px;
}
.bv-headline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 18px;
}
.bv-headline strong {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 650;
}
.bv-headline strong span {
  font-size: 21px;
  color: var(--text-body);
  font-weight: 400;
  letter-spacing: -0.5px;
}
.bv-stack {
  height: 10px;
  display: flex;
  overflow: hidden;
  border-radius: 5px;
  gap: 2px;
  background: var(--surface-subtle);
}
.bv-stack span {
  height: 100%;
  min-width: 0;
}
.bv-up {
  background: var(--bv-green);
}
.bv-down {
  background: var(--bv-red);
}
.bv-flat {
  background: #92929f;
}
.bv-missing {
  background: #686873;
}
.bv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-size: 11px;
  margin-top: 12px;
  color: var(--text-body);
}
.bv-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bv-legend b {
  font-weight: 600;
  color: var(--text-primary);
}
.bv-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.bv-note {
  margin-top: 15px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--text-body);
}
.bv-range-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.bv-range-values span:last-child {
  text-align: right;
}
.bv-range-values small {
  display: block;
  font-size: 10px;
  color: var(--text-body);
}
.bv-range-values b {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
.bv-range {
  position: relative;
  margin: 15px 5px 19px;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-subtle, rgba(128, 128, 140, 0.2));
  border: 1px solid rgba(128, 128, 140, 0.15);
}
.bv-range i {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.bv-open {
  height: 17px;
  width: 3px;
  background: var(--text-body);
}
.bv-close {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #8b8fcb;
  border: 3px solid var(--bg-surface, #fff);
  box-shadow: 0 0 0 1px #8b8fcb;
}
.bv-legend .bv-open-key {
  width: 2px;
  height: 10px;
  background: var(--text-body);
}
.bv-legend .bv-close-key {
  background: #8b8fcb;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.bv-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
}
.bv-metric {
  min-width: 0;
}
.bv-metric-label {
  font-size: 12px;
  font-weight: 550;
}
.bv-metric-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  margin: 6px 0 12px;
}
.bv-metric-top strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  white-space: nowrap;
}
.bv-metric-top strong small {
  font-size: 17px;
  margin-left: 2px;
  color: var(--text-body);
}
.bv-delta {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.bv-delta small {
  font-size: 9px;
  font-weight: 400;
}
.bv-positive {
  color: var(--success-text, #147a49);
}
.bv-negative {
  color: var(--danger-text, #a93226);
}
.bv-neutral {
  color: var(--text-body);
}
.bv-bullet {
  height: 8px;
  position: relative;
  border-radius: 4px;
  background: var(--surface-subtle, rgba(128, 128, 140, 0.12));
}
.bv-bullet > span {
  display: block;
  height: 100%;
  background: #999fc7;
  border-radius: 4px;
}
.bv-bullet > i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  transform: translateX(-1px);
  background: var(--text-primary);
  border-radius: 1px;
}
.bv-metric-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 10px;
  color: var(--text-body);
  margin-top: 10px;
}
.bv-tech-row,
.bv-tech-axis {
  display: grid;
  grid-template-columns: minmax(110px, 1.1fr) minmax(80px, 1.6fr) 60px;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.bv-tech-axis {
  font-size: 9px;
  color: var(--text-body);
  margin-bottom: 8px;
}
.bv-tech-axis span:nth-child(2) {
  text-align: center;
  white-space: pre;
}
.bv-tech-axis span:last-child {
  text-align: right;
}
.bv-tech-row {
  padding: 8px 0;
}
.bv-tech-name {
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.bv-tech-name small {
  display: block;
  color: var(--text-body);
  font-size: 9px;
  margin-top: 2px;
}
.bv-tech-row > b {
  text-align: right;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.bv-tech-track {
  position: relative;
  height: 26px;
  min-width: 0;
}
.bv-tech-track > i {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 50%;
  width: 1px;
  background: rgba(128, 128, 140, 0.25);
}
.bv-tech-track > span {
  position: absolute;
  height: 12px;
  top: 7px;
  border-radius: 2px;
}
@media (max-width: 620px) {
  .bv-overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .brief-viz,
  .bv-overview .brief-viz {
    padding: 18px;
  }
  .bv-metric-grid {
    gap: 24px 18px;
  }
  .bv-metric-top {
    display: block;
  }
  .bv-delta {
    display: block;
    font-size: 11px;
  }
  .bv-delta small {
    font-size: 9px;
  }
  .bv-tech-row,
  .bv-tech-axis {
    grid-template-columns: minmax(92px, 1fr) minmax(65px, 1fr) 51px;
    gap: 9px;
  }
  .bv-tech-row > b {
    font-size: 10px;
  }
  .bv-tech-name {
    font-size: 10px;
  }
  .bv-tech-name small {
    font-size: 10px;
  }
  .bv-metric-foot {
    font-size: 9px;
  }
}
@media (max-width: 350px) {
  .bv-metric-grid {
    grid-template-columns: 1fr;
  }
  .bv-tech-row,
  .bv-tech-axis {
    grid-template-columns: minmax(78px, 1fr) minmax(45px, 1fr) 48px;
    gap: 6px;
  }
}
