.bp-hero .report-hero-copy h1 {
  text-wrap: balance;
}

.bp-funnel {
  position: relative;
}
.bp-funnel-panel {
  position: relative;
  background: #0b0b0c;
  border: 1px solid #1d1d20;
  border-radius: 18px;
  padding: 22px clamp(18px, 2.4vw, 26px) 24px;
  box-shadow: var(--shadow-strong);
  color: #fff;
  overflow: hidden;
}
.bp-funnel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #1d1d20;
}
.bp-funnel-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #d6d6dd;
}
.bp-funnel-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #5fd98a;
}
.bp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.bp-funnel-live .bp-dot {
  box-shadow: 0 0 0 0 rgba(95, 217, 138, 0.6);
  animation: bp-pulse 2.2s ease-out infinite;
}
@keyframes bp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 217, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(95, 217, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 217, 138, 0); }
}

.bp-tier {
  border: 1px solid #20202a;
  border-radius: 12px;
  padding: 14px 16px;
  background: #121215;
}
.bp-tier-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.bp-tier-label {
  font-size: 12.5px;
  color: #8a8a93;
}
.bp-tier-num {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.bp-tier-num.good {
  color: #5fd98a;
}
.bp-tier-in .bp-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.bp-stream i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2c2c36;
  display: block;
}
.bp-stream i:nth-child(3n) { background: #3a3a46; }
.bp-stream i:nth-child(4n) { background: #45323a; }

.bp-flow {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bp-flow span {
  width: 2px;
  height: 100%;
  background: linear-gradient(#2c2c36, transparent);
  position: relative;
  overflow: visible;
}
.bp-flow span::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 10px 2px rgba(255, 70, 24, 0.5);
  animation: bp-drop 1.6s ease-in infinite;
}
@keyframes bp-drop {
  0% { top: -4px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

.bp-wall {
  border: 1px solid #2a2030;
  border-radius: 12px;
  padding: 14px 16px;
  background: #16121a;
}
.bp-wall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bp-wall-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.bp-wall-tag {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 70, 24, 0.16);
  color: #ff7a5c;
}
.bp-wall-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.bp-wall-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #221a28;
}
.bp-wall-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.bp-fname {
  font-size: 13px;
  color: #c9c9d2;
}
.bp-fcount {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #ff7a5c;
}

.bp-tier-out .bp-bar {
  height: 8px;
  border-radius: 999px;
  background: #1c2a20;
  overflow: hidden;
  margin-top: 12px;
}
.bp-tier-out .bp-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1aa251, #5fd98a);
  transition: width 0.25s linear;
}
.bp-tier-foot {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #8a8a93;
}

.bp-filters-sec {
  background: var(--neutral-50);
}
.bp-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bp-filter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.bp-filter-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-bg-tint);
  color: var(--orange-500);
}
.bp-filter-icon svg {
  width: 22px;
  height: 22px;
}
.bp-filter h3 {
  font: 500 21px/1.15 var(--font-sans);
  letter-spacing: -0.03em;
  color: #000;
}
.bp-filter p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #000;
}
.bp-filter-stat {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange-600);
  padding-top: 6px;
}
.bp-filter-sum {
  align-items: flex-start;
  justify-content: center;
  background: #0b0b0c;
  border-color: #1d1d20;
  gap: 6px;
}
.bp-filter-sum-num {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #fff;
}
.bp-filter-sum-label {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.bp-filter-sum-sub {
  font-size: 13px;
  color: #8a8a93;
}

.bp-buckets-sec {
  background: #fff;
}
.bp-buckets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.bp-bucket {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  border-top-width: 3px;
}
.bp-bucket.clean { border-top-color: #1aa251; }
.bp-bucket.filtered { border-top-color: var(--orange-500); }
.bp-bucket.flagged { border-top-color: #d9a514; }
.bp-bucket-num {
  display: block;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #000;
}
.bp-bucket-label {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.bp-bucket-sub {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

.bp-table-wrap {
  border: 1px solid #20202a;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0c;
  color: #fff;
}
.bp-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #20202a;
}
.bp-table-title {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.bp-table-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #5fd98a;
}
.bp-table {
  display: block;
  font-variant-numeric: tabular-nums;
}
.bp-table-head,
.bp-trow {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1.5fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
}
.bp-table-head {
  font-size: 12px;
  color: #6b6b76;
  border-bottom: 1px solid #20202a;
}
.bp-trow {
  border-bottom: 1px solid #17171d;
  font-size: 13px;
  color: #c9c9d2;
}
.bp-trow:last-child {
  border-bottom: 0;
}
.bp-cell-mono {
  font-family: var(--font-code);
  color: #d6d6dd;
}
.bp-cell-sub {
  color: #8a8a93;
  font-size: 12.5px;
}
.bp-badge {
  display: inline-block;
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.bp-badge.clean {
  background: rgba(95, 217, 138, 0.14);
  color: #5fd98a;
}
.bp-badge.filtered {
  background: rgba(255, 70, 24, 0.16);
  color: #ff7a5c;
}
.bp-badge.flagged {
  background: rgba(217, 165, 20, 0.18);
  color: #f5c451;
}
.bp-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid #20202a;
  font-size: 12.5px;
  color: #8a8a93;
}
.bp-table-action {
  color: #d6d6dd;
}

.bp-scale {
  background: #0a0a0b;
  color: #fff;
  border-top: 1px solid #161616;
}
.bp-scale .report-section-head h2 {
  color: #fff;
}
.bp-scale .report-section-head .lead {
  color: #fff;
}
.bp-scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bp-scale-card {
  border: 1px solid #1d1d20;
  border-radius: 12px;
  padding: 24px;
  background: #121215;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bp-scale-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 70, 24, 0.12);
  color: var(--orange-500);
}
.bp-scale-icon svg {
  width: 22px;
  height: 22px;
}
.bp-scale-card h3 {
  font: 500 21px/1.15 var(--font-sans);
  letter-spacing: -0.03em;
  color: #fff;
}
.bp-scale-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #fff;
}

@media (max-width: 1000px) {
  .bp-filters,
  .bp-buckets,
  .bp-scale-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .bp-table-head,
  .bp-trow {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  .bp-table-head span:nth-child(3),
  .bp-trow span:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-flow span::after,
  .bp-funnel-live .bp-dot {
    animation: none !important;
  }
}
