.bp-widget {
  --bp-accent: #1f7a8c;
  --bp-true: #16a34a;
  --bp-obs: #c44536;
}

.bp-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.bp-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
  gap: 0.75rem;
}

.bp-control-header span {
  flex: 1;
}

.bp-control-header output {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
  min-width: 5.5rem;
}

.bp-chart-wrapper {
  background: #ffffff;
  border: 1px solid var(--lca-widget-line, #d8dee4);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bp-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.5;
  min-height: 200px;
  overflow: visible;
}

.bp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--lca-widget-muted, #57606a);
}

.bp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bp-dot-true {
  width: 12px;
  height: 4px;
  background: #16a34a;
  border-radius: 2px;
}

.bp-dot-obs {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c44536;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #c44536;
}

.bp-dot-sample {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f7a8c;
}

.bp-status-card {
  background: #ffffff;
  border: 1px solid var(--lca-widget-line, #d8dee4);
  border-left: 4px solid #1f7a8c;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  transition: border-color 0.2s ease;
}

.bp-status-card.ideal {
  border-left-color: #16a34a;
  background: #f0fdf4;
}

.bp-status-card.biased {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.bp-status-card.noisy {
  border-left-color: #d97706;
  background: #fffbeb;
}

.bp-status-card.worst {
  border-left-color: #ea580c;
  background: #fff7ed;
}

.bp-status-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.bp-status-desc {
  font-size: 0.86rem;
  color: #334155;
  margin: 0;
  line-height: 1.4;
}
