.planner-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.planner-control-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-rest {
  padding: 10px 14px;
  background: #180a0a;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.rest-day-card {
  background: var(--bg-card);
  border: 1px dashed var(--accent-red);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.muscle-group-block {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.muscle-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.muscle-title {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.muscle-title span {
  color: var(--accent-red);
}

.nested-exercise-card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exercise-top-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nested-media-box {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0a0a0a;
}

.nested-media-box video, .nested-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lift-input-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.lift-history-list {
  background: #0a0404;
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
  font-size: 0.72rem;
  max-height: 80px;
  overflow-y: auto;
}

.lift-history-item {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-secondary);
}

.lift-history-item span.date {
  color: var(--accent-red);
  font-weight: 800;
}
