.phases-container {
  padding: 12px;
  border-bottom: 1px solid var(--ase-pre-border);
}

.phases-title {
  font-size: 0.7rem;
  color: var(--ase-pre-text-dim);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.phase-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 4px;
  background: var(--ase-pre-bg-3);
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.phase-item.completed {
  border-left-color: var(--ase-pre-success);
  background: rgba(74, 222, 128, 0.05);
}

.phase-item.active {
  border-left-color: var(--ase-pre-accent);
  background: rgba(128, 222, 255, 0.08);
}

.phase-item.locked {
  opacity: 0.5;
  border-left-color: var(--ase-pre-text-dim);
}

.phase-item.completed,
.phase-item.active {
  cursor: pointer;
}

.phase-item.completed:hover,
.phase-item.active:hover {
  background: rgba(128, 222, 255, 0.15);
}

.phase-item.viewing {
  outline: 2px solid var(--ase-pre-accent);
  outline-offset: -2px;
}

.phase-icon {
  width: 18px;
  height: 18px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-info {
  flex: 1;
  min-width: 0;
}

.phase-name {
  font-size: 0.75rem;
  color: var(--ase-pre-text);
}

.phase-detail {
  font-size: 0.6rem;
  color: var(--ase-pre-text-dim);
  margin-top: 2px;
}

.phase-time {
  font-size: 0.6rem;
  color: var(--ase-pre-text-dim);
}

.phase-progress-bar {
  width: 60px;
  height: 4px;
  background: var(--ase-pre-border);
  border-radius: 2px;
  overflow: hidden;
}

.phase-progress-fill {
  height: 100%;
  background: var(--ase-pre-accent);
  transition: width 0.3s ease;
}
