.bp-month-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
.bp-month-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  min-width: 200px;
  text-align: center;
}
.bp-month-bar .btn {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.3rem 0.9rem;
  border-radius: 8px;
}
.bp-export-btn {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  padding: 8px 14px !important;
  font-weight: 600;
  margin-left: auto;
}
@media (max-width: 640px) { .bp-month-bar { flex-wrap: wrap; } .bp-export-btn { margin-left: 0; width: 100%; } }

.bp-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .bp-summary-row { grid-template-columns: repeat(2, 1fr); }
}
.bp-summary-card {
  border-radius: 14px;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.bp-summary-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-bottom: 0.35rem;
}
.bp-summary-val {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bp-inc .bp-summary-val { color: #5cd98a; }
.bp-exp .bp-summary-val { color: #ff8fa3; }
.bp-sav .bp-summary-val { color: #5cd98a; }
.bp-sav.negative .bp-summary-val { color: #ff6b6b; }
.bp-rate .bp-summary-val { color: #60d5fa; }

.bp-bar-card { padding: 1rem 1.5rem; margin-bottom: 1rem; }
.bp-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.bp-bar {
  height: 14px;
  border-radius: 7px;
  background: rgba(255,255,255,0.06);
  display: flex;
  overflow: hidden;
}
.bp-bar-exp {
  background: #ff8fa3;
  transition: width 0.4s ease;
}
.bp-bar-sav {
  background: #5cd98a;
  transition: width 0.4s ease;
}

.bp-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 700px) {
  .bp-main-grid { grid-template-columns: 1fr; }
}

.bp-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.bp-inc-title { color: #5cd98a; }
.bp-exp-title { color: #ff8fa3; }

.bp-rows { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }

.bp-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bp-row-name {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: inherit;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}
.bp-row-name:focus { border-color: rgba(255,255,255,0.3); }
.bp-row-amt {
  width: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  color: inherit;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
  outline: none;
}
.bp-row-amt:focus { border-color: rgba(255,255,255,0.3); }
.bp-row-del {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  color: inherit;
  font-size: 1rem;
  padding: 0.2rem;
  line-height: 1;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.bp-row-del:hover { opacity: 0.9; }
.bp-add-btn {
  width: 100%;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  font-size: 0.85rem;
  padding: 0.5rem;
}
.bp-add-btn:hover { background: rgba(255,255,255,0.08); }

/* Donut chart */
.bp-chart-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.bp-donut {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.bp-donut circle {
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
}
.bp-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bp-legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.bp-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bp-legend-name { flex: 1; opacity: 0.8; }
.bp-legend-pct { font-weight: 600; font-size: 0.8rem; opacity: 0.7; }
@media (max-width: 500px) {
  .bp-chart-wrap { flex-direction: column; align-items: flex-start; }
}
