.summary-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.strip-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.strip-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--t1);
  display: block;
}

.strip-lbl {
  font-size: .68rem;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.chart-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.chart-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--t2);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  transition: height .4s ease;
}

.bar-lbl {
  font-size: .55rem;
  color: var(--t3);
}

/* Habit breakdown */
.habit-breakdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.habit-breakdown-row:last-child {
  border-bottom: none;
}

.hb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hb-name {
  font-size: .88rem;
  font-weight: 500;
  color: var(--t1);
  width: 130px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-track {
  flex: 1;
  height: 6px;
  background: var(--raised);
  border-radius: 3px;
  overflow: hidden;
}

.hb-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .5s ease;
}

.hb-pct {
  font-size: .78rem;
  font-weight: 600;
  color: var(--t2);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--raised);
}

.cal-cell.done {
  background: var(--accent);
  opacity: .85;
}

.cal-cell.rest {
  background: var(--raised);
  opacity: .2;
}

.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.cal-day-lbl {
  text-align: center;
  font-size: .6rem;
  color: var(--t3);
  font-weight: 600;
}
